Hi,
I have installed Fedora 13 on an external USB 1TByte harddisk and wanted to integrate it into grub2 on my notebook.
Unfortunately, I can't start F13 from grub2 boot-menue.
I get an error on UUID "e87da235-0c58-4e83-a8c8-aab9bf994285".
I have attached the /boot/grub/grub.cfg from my debian/sid system.
Also, the /boot/grub/menu.lst and /boot/grub/device.map from the F13 system.
FYI: Fedora uses still a patched grub-legacy ("grub1") as default.
The funny thing is:
Installing F13's grub1 to USB-hdd's MBR gives a "geom error" back.
Might be a "distro flamewar feature" :-).
Kind Regards,
- Sedat -
Oops, forgot the file attachments. - Sedat -
Missed F13's grub1 menu.lst.
Missed f13_menu.lst...
menu.lst is a symlink on f13 to ./grub.conf. Dunno what's wrong with sending it... so I just cut-n-paste. - Sedat - $ cat /tmp/f13_menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,6) # kernel /boot/vmlinuz-version ro root=/dev/sdb7 # initrd /boot/initrd-[generic-]version.img #boot=/dev/sdb default=0 timeout=0 splashimage=(hd0,6)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.33.3-85.fc13.i686.PAE) root (hd0,6) kernel /boot/vmlinuz-2.6.33.3-85.fc13.i686.PAE ro root=UUID=e87da235-0c58-4e83-a8c8-aab9bf994285 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=de-latin1-nodeadkeys rhgb quiet initrd /boot/initramfs-2.6.33.3-85.fc13.i686.PAE.img
Here some informations in addition: # fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x29af3db5 Device Boot Start End Blocks Id System /dev/sdb1 1 3040 24418768+ 83 Linux /dev/sdb2 3041 6080 24418800 83 Linux /dev/sdb3 6081 12160 48837600 83 Linux /dev/sdb4 12161 121601 879084801+ 5 Extended /dev/sdb5 12161 42555 244147806 83 Linux /dev/sdb6 42556 72950 244147806 83 Linux /dev/sdb7 * 72951 103345 244147806 83 Linux /dev/sdb8 103346 121601 146641288+ 83 Linux # df -h | grep sdb7 /dev/sdb7 230G 3,0G 215G 2% /mnt/sdb7 # mount | grep sdb7 /dev/sdb7 on /mnt/sdb7 type ext4 (rw) # ls -l /dev/disk/by-uuid | grep sdb7 lrwxrwxrwx 1 root root 10 19. Jun 10:59 e87da235-0c58-4e83-a8c8-aab9bf994285 -> ../../sdb7 - Sedat -
Here is the section concerning F13 in debian's grub2 config:
# grep -A10 -i fedora /boot/grub/grub.cfg
menuentry "Fedora (2.6.33.3-85.fc13.i686.PAE) (on /dev/sdb7)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos7)'
search --no-floppy --fs-uuid --set e87da235-0c58-4e83-a8c8-aab9bf994285
linux /boot/vmlinuz-2.6.33.3-85.fc13.i686.PAE ro
root=UUID=e87da235-0c58-4e83-a8c8-aab9bf994285 rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16
KEYTABLE=de-latin1-nodeadkeys rhgb quiet
initrd /boot/initramfs-2.6.33.3-85.fc13.i686.PAE.img
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
That looks very sane to me.
BTW, the exact error when selecting F13 from grub2 boot-menue:
error: no such device: e87da235-0c58-4e83-a8c8-aab9bf994285
- Sedat -
I attach the results of BootInfoScript-0.55 [1]: - Sedat - [1] http://sourceforge.net/projects/bootinfoscript/
Hi, Changelog in [1] says: "- Add support for initrd images on Fedora 13." So, I give new grub2 package a next try. Unfortunaley, I still can't boot F13 from Debian's grub2-boot-menue. These are the error-messages (Line #2 and #3 are new): error: no such device: e87da235-0c58-4e83-a8c8-aab9bf994285. error: no such disk. error: you need to load the kernel first. [ /boot/grub/grub.cfg ] OLD: set root='(hd1,msdos7)' NEW: set root='(/dev/sdb,msdos7)' I am also adding the new generated grub.cfg file. - Sedat - [1] http://packages.debian.org/changelogs/pool/main/g/grub2/grub2_1.98+20100702-1/changelog.html