Re: Boot problem : Operating System not found.
On Sat, 17 Mar 2012 18:30:51 +0100, Bruno Costacurta wrote: Bruno, you MUA is somehow deleting both "References:" and "In-Reply-To:" header fields and thus your posts are kept unthreaded. > [snip] >> I'll also try the SuperGrub2Disk ASAP. > [snip] > > Yes, it works when booting using a SuperGrub2Disk CD. > > From SuperGrub2Disk boot menu : > Detect any OS -> Debian correctly found on /dev/sda4 -> boot is OK. Good :-) > So I suppose the GRUB on the hard disk is incorrectly setup. As the > boot-info script reported in previous email. Note that others distros > (Xubuntu and Sabayon) boots correctly. > > So how to correct GRUB regarding Debian problem ? Manually or using > tools (certainly preferred solution )? I already ran update-grub but > without any success. I would first try to manually boot Debian from GRUB2 console. Based on the information you've provided and the link I previously sent, it should be something like this: *** set root=(hd0,gpt4) linux /boot/vmlinuz root=/dev/sda4 ro initrd /boot/initrd.img-2.6.32-5-amd64 boot *** Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jk2luf$q5l$1...@dough.gmane.org
Re: Boot problem : Operating System not found.
[snip] I'll also try the SuperGrub2Disk ASAP. [snip] Yes, it works when booting using a SuperGrub2Disk CD. From SuperGrub2Disk boot menu : Detect any OS -> Debian correctly found on /dev/sda4 -> boot is OK. So I suppose the GRUB on the hard disk is incorrectly setup. As the boot-info script reported in previous email. Note that others distros (Xubuntu and Sabayon) boots correctly. So how to correct GRUB regarding Debian problem ? Manually or using tools (certainly preferred solution )? I already ran update-grub but without any success. Bye. Bruno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120317183051.horde.8dtrbb5-3onpzmplyb3n...@webmail.costacurta.org
Re: Boot problem : Operating System not found
On Fri, 16 Mar 2012 20:52:37 +, luizlmarins hotmail.com wrote: (please, no html... thanks) > See here: > > http://linuxmeu.wordpress.com/grub-nao-aparece/ But GRUB does appear in this case. What happens is that it hangs when booting Debian. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jk2f4t$q5l$8...@dough.gmane.org
Re: Boot problem : Operating System not found.
It would've been helpful not to have snipped the "drive partition info" section! :) You have a gpt-labelled disk but sda1 isn't OK. As "File system", it should have "BIOS Boot partition". "Boot sector type" and "Boot sector info" cannot be right but I don't know what they should be. The two "looks at sector" seem *very* wrong. OK, hereafter I added the drive info produced by boot_info_script.sh. I'll also try the SuperGrub2Disk ASAP. Bye. Bruno = Boot Info Summary: === => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 946507840 of the same hard drive for core.img. core.img is at this location and looks for on this drive. sda1: __ File system: vfat Boot sector type: Grub2 (v1.99) Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1 and looks at sector 932584136 of the same hard drive for core.img. core.img is at this location and looks for on this drive. According to the info in the boot sector, sda1 has 0 sectors. Operating System: Boot files: sda2: __ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 11.10 Boot files:/boot/grub/grub.cfg /etc/fstab sda3: __ File system: swap Boot sector type: - Boot sector info: sda4: __ File system: ext4 Boot sector type: - Boot sector info: Operating System: Debian GNU/Linux 6.0 Boot files:/boot/grub/grub.cfg /etc/fstab /boot/grub/core.img [snip] Drive/Partition Info: = Drive: sda _ Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes Partition Boot Start SectorEnd Sector # of Sectors Id System /dev/sda1 1 976,773,167 976,773,167 ee GPT GUID Partition Table detected. PartitionStart SectorEnd Sector # of Sectors System /dev/sda1 3439,09639,063 EFI System partition /dev/sda2 39,097 926,705,663 926,666,567 Data partition (Windows/Linux) /dev/sda3 968,710,973 976,773,118 8,062,146 Swap partition (Linux) /dev/sda4 926,705,664 946,236,91419,531,251 Data partition (Windows/Linux) /dev/sda5 946,237,440 968,710,14322,472,704 EFI System partition "blkid" output: Device UUID TYPE LABEL /dev/sda1DAA7-3EEF vfat /dev/sda21f2cac6a-301f-48f7-a83e-70485ad3a653 ext4 /dev/sda3cc3d3f3f-d38e-4741-adc1-7807282fdc16 swap /dev/sda4b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ext4 /dev/sda55c1fb0d9-aafd-42cd-9626-ce4d1c170d7f ext4 [snip] === sda4/etc/fstab: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # proc/proc procdefaults0 0 # / was on /dev/sda4 during installation UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc / ext4 errors=remount-ro 0 1 # swap was on /dev/sda3 during installation UUID=cc3d3f3f-d38e-4741-adc1-7807282fdc16 noneswapsw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 === sda4: Location of files loaded by Grub: GiB - GB File Fragment(s) 442.020458221 = 474.615853056 boot/grub/core.img 1 450.046794891 = 483.234066432 boot/grub/grub.cfg 2 442.517547607 = 475.149598720 boot/initrd.img-2.6.32-5-amd64 1 442.415344238 = 475.039858688 boot/vmlinuz-2.6.32-5-amd64 1 442.517547607 = 475.149598720 initrd.img 1 442.415344238 =
Re: Boot problem : Operating System not found.
On Fri, Mar 16, 2012 at 3:13 PM, Bruno Costacurta wrote: > > => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector > 946507840 of the same hard drive for core.img. core.img is at this > location and looks for on this drive. > ... > sda1: > > File system: vfat > Boot sector type: Grub2 (v1.99) > Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1 > and looks at sector 932584136 of the same hard drive > for core.img. core.img is at this location and looks > for on this drive. According to the info in the boot > sector, sda1 has 0 sectors. > ... > set root='(hd0,gpt4)' It would've been helpful not to have snipped the "drive partition info" section! :) You have a gpt-labelled disk but sda1 isn't OK. As "File system", it should have "BIOS Boot partition". "Boot sector type" and "Boot sector info" cannot be right but I don't know what they should be. The two "looks at sector" seem *very* wrong. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SyofqPWFQbZ=XttS=fp-uni8yifybfxh4un9qoflfx...@mail.gmail.com
Re: Boot problem : Operating System not found.
'Operating System not found' is displayed once boot via GRUB command line. [snip] What's the output of bootinfoscript? [snip] So I ran boot_info_script.sh. Which returns the following (snipped to mainly show /dev/sda4 on which Debian is installed) : Boot Info Script 0.60from 17 May 2011 = Boot Info Summary: === => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 946507840 of the same hard drive for core.img. core.img is at this location and looks for on this drive. sda1: __ File system: vfat Boot sector type: Grub2 (v1.99) Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1 and looks at sector 932584136 of the same hard drive for core.img. core.img is at this location and looks for on this drive. According to the info in the boot sector, sda1 has 0 sectors. Operating System: Boot files: [snip] sda4: __ File system: ext4 Boot sector type: - Boot sector info: Operating System: Debian GNU/Linux 6.0 Boot files:/boot/grub/grub.cfg /etc/fstab /boot/grub/core.img [snip] === sda4/boot/grub/grub.cfg: === # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_gpt insmod ext2 set root='(hd0,gpt4)' search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_gpt insmod ext2 set root='(hd0,gpt4)' search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=cyan/blue set menu_color_highlight=white/blue ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os { insmod part_gpt insmod ext2 set root='(hd0,gpt4)' search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc echo'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro quiet echo'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod part_gpt insmod ext2 set root='(hd0,gpt4)' search --no-floppy --fs-uuid --set b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc echo'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro single echo'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Ubuntu, with Linux 3.0.0-16-generic (on /dev/sda2)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set 1f2cac6a-301f-48f7-a83e-70485ad3a653 linux /boot/vmlinuz-3.0.0-16-generic root=UUID=1f2cac6a-301f-48f7-a83e-70485ad3a653 ro acpi=off splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-16-generic } menuentry "Ubuntu, with Linux 3.0.0-16-generic (recovery mode) (on /dev/sda2)" { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set 1f2cac6a-301f-48f7-a83e-70485ad3a653 linux /boot/vmlinuz-3.0.0-16-generic root=UUID=1f2cac6a-301f-48f7-a83e-70485ad3a653 ro recovery nomodeset acpi=off initrd /boot/initrd.img-3.0.0-16-generic } menuentry "Ubuntu, with Linux 3.0.0-15-generic (on /dev/sda2)" {
Re: Boot problem : Operating System not found (was : how to make it verbose ?)
On Thu, 15 Mar 2012 19:55:39 +0100, Bruno Costacurta wrote: > .. >> Another thing you can test is manually booting your Debian system from >> GRUB2 boot menu by reaching the command line. This way if you're lucky >> any error you get will be printed on the screen. > .. > > Indeed you're right. > 'Operating System not found' is displayed once boot via GRUB command > line. I suppose this is an interesting info. What happened ? > How to correct this ? I don't know what's going on, but I would try to manually boot the Debian kernel from GRUB2 console. As you're using GRUB2 from Ubuntu, you could try these steps: https://help.ubuntu.com/community/Grub2#Boot_a_Specific_Kernel_Manually > I check the UUID (via GRUB2 -> ls) it is identical as the one specified > in the GRUB parameters. Maybe what can't find is the root disk/partition (hdx,x). Besides, it can be an error coming from GRUB2 itself, that's why I still suggest that you try to boot your Debian system from SuperGrub2Disk which is distribution-unaware. As a side note, when using a multi-boot configuration I prefer to install the bootloader of every operating system inside its own partition, whether possible (windows does not allow this, I guess, it puts its NT loader on the MBR we like it or not). But on linux and bsd systems you can install both, Ubuntu and Debian, and each of them with their own GRUB2. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjvt4g$gio$7...@dough.gmane.org
Re: Boot problem : Operating System not found (was : how to make it verbose ?)
On Thu, Mar 15, 2012 at 2:55 PM, Bruno Costacurta wrote: >> >> Another thing you can test is manually booting your Debian system from >> GRUB2 boot menu by reaching the command line. This way if you're lucky >> any error you get will be printed on the screen. > > Indeed you're right. > 'Operating System not found' is displayed once boot via GRUB command line. > I suppose this is an interesting info. > What happened ? > How to correct this ? > > I check the UUID (via GRUB2 -> ls) it is identical as the one specified in > the GRUB parameters. What's the output of bootinfoscript? http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SwgFxr19GAoy=mRqKG6=tatytgyvzmsaxvftufasuj...@mail.gmail.com
Boot problem : Operating System not found (was : how to make it verbose ?)
.. Another thing you can test is manually booting your Debian system from GRUB2 boot menu by reaching the command line. This way if you're lucky any error you get will be printed on the screen. .. Indeed you're right. 'Operating System not found' is displayed once boot via GRUB command line. I suppose this is an interesting info. What happened ? How to correct this ? I check the UUID (via GRUB2 -> ls) it is identical as the one specified in the GRUB parameters. Thanks for help. Bruno -- Linux Counter # 353844 https://linuxcounter.net/user/353844.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120315195539.horde.ubqpel5-3onpyjsrspr3...@webmail.costacurta.org