From: mess-mate on
Hi list,
i've installed sqeeze (amd64) and grub2 as the boot loader.
On an 2d hd lenny with grub (older version with the stage.. files) is
installed.
Since grub2 is installed on the mbr no way to boot my lenny system.
Here is the lenny part on grub.cfg:
menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set f26b56c1-4550-4815-b7bf-e5f114c6f9e4
linux /vmlinuz-2.6.28 root=/dev/sdc6 rootfstype=ext4 ro quiet vga=788
initrd /initrd.img-2.6.28
}

UUID is disabled as default.
any help would be very apprecited.

From: Bob Proulx on
mess-mate wrote:
> i've installed sqeeze (amd64) and grub2 as the boot loader.
> On an 2d hd lenny with grub (older version with the stage.. files) is
> installed.
> Since grub2 is installed on the mbr no way to boot my lenny system.

Have you tried the chainloader? I haven't so don't know but it seems
like the chainloader should be able to boot your Lenny grub version.

> Here is the lenny part on grub.cfg:
> menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
> insmod ext2
> set root='(hd2,5)'
> search --no-floppy --fs-uuid --set f26b56c1-4550-4815-b7bf-e5f114c6f9e4
> linux /vmlinuz-2.6.28 root=/dev/sdc6 rootfstype=ext4 ro quiet vga=788
> initrd /initrd.img-2.6.28
> }

Unfortunately I don't know grub2 configuration well enough to suggest
with any authority what the chainloader configuration would be. But
looking at the web right now it appears that something like this might
work. Untested.

menuentry "Lenny" {
insmod chain
set root='(hd2,5)'
chainloader +1
}

Bob
From: Greg Madden on
On Sunday 11 July 2010 14:52:05 mess-mate wrote:
> Hi list,
> i've installed sqeeze (amd64) and grub2 as the boot loader.
> On an 2d hd lenny with grub (older version with the stage.. files) is
> installed.
> Since grub2 is installed on the mbr no way to boot my lenny system.
> Here is the lenny part on grub.cfg:
> menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
> insmod ext2
> set root='(hd2,5)'
> search --no-floppy --fs-uuid --set
> f26b56c1-4550-4815-b7bf-e5f114c6f9e4 linux /vmlinuz-2.6.28 root=/dev/sdc6
> rootfstype=ext4 ro quiet vga=788 initrd /initrd.img-2.6.28
> }
>
> UUID is disabled as default.
> any help would be very apprecited.

1. grub2 depends grub-pc
2. grub-pc 'suggests' os-prober'

Grub2 uses 'os-prober' to find other os's. I have had time when this process
did not work, make sure os-prober is installed, on my Lenny it is 'suggested'
for grub-pc.

Squeeze works here though.

If you use one mbr to boot all you will need to pick which os to configure
grub. If you can't get to the one os you want to manage your disks use an
alternate means to chroot into it, make sure os-prober is installed, then
run 'update-grub'.


--
Peace,

Greg


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201007111941.52594.gomadtroll(a)gci.net
From: mess-mate on
On 07/12/2010 04:43 AM, Bob Proulx wrote:
> mess-mate wrote:
>
>> i've installed sqeeze (amd64) and grub2 as the boot loader.
>> On an 2d hd lenny with grub (older version with the stage.. files) is
>> installed.
>> Since grub2 is installed on the mbr no way to boot my lenny system.
>>
> Have you tried the chainloader? I haven't so don't know but it seems
> like the chainloader should be able to boot your Lenny grub version.
>
>
>> Here is the lenny part on grub.cfg:
>> menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
>> insmod ext2
>> set root='(hd2,5)'
>> search --no-floppy --fs-uuid --set f26b56c1-4550-4815-b7bf-e5f114c6f9e4
>> linux /vmlinuz-2.6.28 root=/dev/sdc6 rootfstype=ext4 ro quiet vga=788
>> initrd /initrd.img-2.6.28
>> }
>>
> Unfortunately I don't know grub2 configuration well enough to suggest
> with any authority what the chainloader configuration would be. But
> looking at the web right now it appears that something like this might
> work. Untested.
>
> menuentry "Lenny" {
> insmod chain
> set root='(hd2,5)'
> chainloader +1
> }
>
> Bob
>
Thanks for the suggestion, do not work for me :(

From: mess-mate on
On 07/12/2010 05:41 AM, Greg Madden wrote:
> On Sunday 11 July 2010 14:52:05 mess-mate wrote:
>
>> Hi list,
>> i've installed sqeeze (amd64) and grub2 as the boot loader.
>> On an 2d hd lenny with grub (older version with the stage.. files) is
>> installed.
>> Since grub2 is installed on the mbr no way to boot my lenny system.
>> Here is the lenny part on grub.cfg:
>> menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
>> insmod ext2
>> set root='(hd2,5)'
>> search --no-floppy --fs-uuid --set
>> f26b56c1-4550-4815-b7bf-e5f114c6f9e4 linux /vmlinuz-2.6.28 root=/dev/sdc6
>> rootfstype=ext4 ro quiet vga=788 initrd /initrd.img-2.6.28
>> }
>>
>> UUID is disabled as default.
>> any help would be very apprecited.
>>
> 1. grub2 depends grub-pc
> 2. grub-pc 'suggests' os-prober'
>
> Grub2 uses 'os-prober' to find other os's. I have had time when this process
> did not work, make sure os-prober is installed, on my Lenny it is 'suggested'
> for grub-pc.
>
> Squeeze works here though.
>
> If you use one mbr to boot all you will need to pick which os to configure
> grub. If you can't get to the one os you want to manage your disks use an
> alternate means to chroot into it, make sure os-prober is installed, then
> run 'update-grub'.
>
>
>
grub-pc and os-prober are installed and created grub.cfg after a probe
of all my hd's.
So the lenny part was created as you can see above.
I've checked a possible install of grub-legacy but it seems completely
different from the one installed on lenny. ( no more stage files and so on)
As you say, chrooting with a rescue-cd in lenny and setup a floppy grub
loader would be a possibility.
Had never a problem like this after a version change.


 |  Next  |  Last
Pages: 1 2 3
Prev: output from udevadm
Next: Very slow LVM performance