On Wed, Mar 23, 2011 at 5:14 AM, Geronimo <geronimo...@arcor.de> wrote:
> Tom H wrote:
>>
>> -  Do the grub.cfg entries for squeeze in squeeze and maverick match
>> for the insmods, the grub root, and the system root?
>
> I attached an archive with diffs of complete grub.cfg and just the menue
> entries.

Thanks for the diff but it made me go cros-eyed. :)

You've attached both your grub.cfg's so I removed the unnecessary
lines (for our purpose).

Take a look at them below. Your squeeze grub.cfg sets root as sdg2
then sde2 through 00_linux, as sdg2 through 05_debian_theme, and sde2
through 10_linux.

I don't have 05_debian_theme on my boxes (deleted!) but looking
quickly at 10_linux, the first "set root..." comes from a grub-probe
of the directory corresponding to $GRUB_THEME.

<begin_UBU>

### BEGIN /etc/grub.d/00_header ###
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Maverick' {
        set root='(hd1,msdos3)'
        search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26
        linux   /boot/vmlinuz-2.6.35-22-generic
root=UUID=b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 ro   quiet splash
        initrd  /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Squeeze (on /dev/sdb1)" {
        set root='(hd1,msdos2)'
        search --no-floppy --fs-uuid --set 59c82698-6fcc-4512-a51c-261348d637da
        linux /vmlinuz-2.6.32-5-amd64
root=UUID=7ce6540f-5ffe-445d-9bbf-d41652854700 ro quiet
        initrd /initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/30_os-prober ###

</end_UBU>

<begin_DEB>

### BEGIN /etc/grub.d/00_header ###
set root='(hd6,msdos2)'
search --no-floppy --fs-uuid --set 44403194-a873-48ac-978c-b08a13c5d756
...
set root='(hd4,msdos2)'
search --no-floppy --fs-uuid --set 59c82698-6fcc-4512-a51c-261348d637da
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root='(hd6,msdos2)'
search --no-floppy --fs-uuid --set 44403194-a873-48ac-978c-b08a13c5d756
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Squeeze' {
        set root='(hd4,msdos2)'
        search --no-floppy --fs-uuid --set 59c82698-6fcc-4512-a51c-261348d637da
        linux   /vmlinuz-2.6.32-5-amd64
root=UUID=7ce6540f-5ffe-445d-9bbf-d41652854700 ro  quiet
        initrd  /initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Maverick (on /dev/sde3)" {
        set root='(hd4,msdos3)'
        search --no-floppy --fs-uuid --set b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26
        linux /boot/vmlinuz-2.6.35-22-generic
root=UUID=b9ad85b7-d8b0-42f9-8c3a-c09a435cbe26 ro quiet splash
        initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/30_os-prober ###

<end_DEB>


--
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/AANLkTi=qgUpY6yigtyd5tUkrPoXzq0oL91=pugstf...@mail.gmail.com

Reply via email to