Talk:GRUB

From openSUSE

I tried this method (http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD_002dROM.html#Making-a-GRUB-bootable-CD_002dROM) to help me boot linux 10.0 installed on an external usb drive. I don't want the MBR changed on the internal disks and I don't want anymore to boot using the linux install cd1.

The grub bootable cd-rom was an excellent solution because I tried to use yast to configure grub, tried to configure grub manually but each attempt was a failure and I don't know why, the MBR of the internal hard disk was changed and I was forced to use the FIXMBR command using the xp install disk... to retreive xp on internal disk... lot of time waisted...

This method gave better results then before (before I got only GRUB and that was all) but still no boot anyway, "disk read error" or something similar, but GRUB menu items were displayed...

The partition to boot on is /dev/sda6 (hd0,5 in GRUB)

Here is the menu.lst (copied on the /boot/grub folder before have created the .iso file) extract I used:

# Modified by YaST2. Last modification on jeu nov 29 12:10:01 UTC 2007

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/sda6 selinux=0  resume=/dev/sda7  splash=silent showopts
    initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/sda6 showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off  3
    initrd /boot/initrd

Do you think GRUB makes the difference between /boot/vmlinuz and (hd0,5)/boot/vmlinuz ?
An example from http://www.gnu.org/software/grub/manual/html_node/Configuration.html#Configuration indicates either

# For booting GNU/Linux
    title  GNU/Linux
    kernel (hd1,0)/vmlinuz root=/dev/hdb1

This boots GNU/Linux, but from the second hard disk.

It depends, I suppose, where the vmlinuz file is (initrd file is also ??) located... I did not yet tried the second solution (prefix /boot/vmlinuz by (hd0,5)) I will deliver the results :)

Thank you,

Lordhurukan