From: mess-mate on
On 07/12/2010 03:19 PM, Tom H wrote:
> On Mon, Jul 12, 2010 at 9:05 AM, mess-mate<messmate(a)free.fr> wrote:
>
>> On 07/12/2010 11:51 AM, Tom H wrote:
>> On Mon, Jul 12, 2010 at 4:15 AM, mess-mate<messmate(a)free.fr> wrote:
>> On 07/12/2010 09:48 AM, Tom H wrote:
>> On Sun, Jul 11, 2010 at 6:52 PM, mess-mate<messmate(a)free.fr> 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.
>> 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 ro quiet vga=788
>> initrd /initrd.img-2.6.28
>> }
>>
>> UUID is disabled as default.
>>
>> What does "no way to boot" mean?
>>
>> Is Lenny's /boot on sdc5 or sdc6?
>>
>> It mean's i can't boot lenny. /dev, /proc, etc.. couldn't be mounted ( a
>> common error message encountered , now and in the past, when a root dir
>> isn't found)
>> The Lenny-root is on sdc6 ext4. The /boot partition is on sdc5 ext3.
>>
>>
>> So grub is loading your initrd and the latter cannot mount your
>> partitions, probably because you are using sdc6 instead of hdc6 or
>> because Lenny is recognizing sdc/hdc as sda/hda or sdb/hdb.
>>
>> Run
>> blkid /dev/sdc6
>> Change your linux line to
>> linux /vmlinuz-2.6.28 root=/dev/disk/by-uuid/<output_of_blkid_above>
>> ro rootfstype=ext4 vga=788
>> or
>> linux /vmlinuz-2.6.28 root=/dev/hdc6 ro rootfstype=ext4 vga=788
>>
>>
>> Ok, i don't know what happen exactly but the UUID is completely defferent
>> between grub.cfg and the
>>
>> 'blkid /dev/sdc6' results: UUID="7057a48b-9ed1-4c6d-bb02-5822dddd8b06"
>> TYPE="ext4"
>>
>> So i changed the uuid but still the same error and a busybox and initramfs.
>> No boot.
>> Can it be a bios problem or a GRUB bug ?
>>
> careful, the uuid of the search line should be that of /boot not of /
> so it should be the uuid of sdc6/hdc6.
>
>
>
Indeed, sdc5 = /boot or (hd2,5). /boot is a different partition.
UUID="f26b56c1-4550-4815-b7bf-e5f114c6f9e4" SEC_TYPE="ext2" TYPE="ext3"




From: mess-mate on
On 07/12/2010 03:19 PM, Tom H wrote:
> On Mon, Jul 12, 2010 at 9:05 AM, mess-mate<messmate(a)free.fr> wrote:
>
>> On 07/12/2010 11:51 AM, Tom H wrote:
>> On Mon, Jul 12, 2010 at 4:15 AM, mess-mate<messmate(a)free.fr> wrote:
>> On 07/12/2010 09:48 AM, Tom H wrote:
>> On Sun, Jul 11, 2010 at 6:52 PM, mess-mate<messmate(a)free.fr> 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.
>> 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 ro quiet vga=788
>> initrd /initrd.img-2.6.28
>> }
>>
>> UUID is disabled as default.
>>
>> What does "no way to boot" mean?
>>
>> Is Lenny's /boot on sdc5 or sdc6?
>>
>> It mean's i can't boot lenny. /dev, /proc, etc.. couldn't be mounted ( a
>> common error message encountered , now and in the past, when a root dir
>> isn't found)
>> The Lenny-root is on sdc6 ext4. The /boot partition is on sdc5 ext3.
>>
>>
>> So grub is loading your initrd and the latter cannot mount your
>> partitions, probably because you are using sdc6 instead of hdc6 or
>> because Lenny is recognizing sdc/hdc as sda/hda or sdb/hdb.
>>
>> Run
>> blkid /dev/sdc6
>> Change your linux line to
>> linux /vmlinuz-2.6.28 root=/dev/disk/by-uuid/<output_of_blkid_above>
>> ro rootfstype=ext4 vga=788
>> or
>> linux /vmlinuz-2.6.28 root=/dev/hdc6 ro rootfstype=ext4 vga=788
>>
>>
>> Ok, i don't know what happen exactly but the UUID is completely defferent
>> between grub.cfg and the
>>
>> 'blkid /dev/sdc6' results: UUID="7057a48b-9ed1-4c6d-bb02-5822dddd8b06"
>> TYPE="ext4"
>>
>> So i changed the uuid but still the same error and a busybox and initramfs.
>> No boot.
>> Can it be a bios problem or a GRUB bug ?
>>
> careful, the uuid of the search line should be that of /boot not of /
> so it should be the uuid of sdc6/hdc6.
>
>
>
Indeed, sdc5 = /boot or (hd2,5). /boot is a different partition.
UUID="f26b56c1-4550-4815-b7bf-e5f114c6f9e4" SEC_TYPE="ext2" TYPE="ext3"

But didn't solve the problem :(




From: Goh Lip on
On 07/12/2010 06:52 AM, 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.
>


Boot up squeeze, at terminal
sudo grub-install /dev/sda

Regards - Goh Lip


--
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/i1gic2$n9v$2(a)dough.gmane.org
From: mess-mate on
On 07/13/2010 04:17 AM, Goh Lip wrote:
> On 07/12/2010 06:52 AM, 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.
>>
>
>
> Boot up squeeze, at terminal
> sudo grub-install /dev/sda
>
> Regards - Goh Lip
>
>
Thanks to all.
I give up. Installing grub-legacy didn't solve the problem at all.
So back to grub2.
mess-mate


--
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/4C3C5983.6010000(a)free.fr
First  |  Prev  | 
Pages: 1 2 3
Prev: output from udevadm
Next: Very slow LVM performance