You are not logged in.

#1 2013-04-07 05:46:42

variance
Member
Registered: 2013-04-07
Posts: 1

GRUB2 issues

Hi,

I have an issue trying to boot my Linux from GRUB2...

I have my partitions this way
/dev/sda6 = /
/dev/sda7 = /boot

sda6 and sda7 are logical partitions, using ext4. These are "logical" from /dev/sda3 which is an extended partition.
Partitions are all MBR style.

I have this grub script menu script:

set root=(hd0,msdos7)      #tried also with (hd0,7)
linux vmlinuz-linux root=/dev/sda6
initrd initramfs-linux.img

When trying to boot I get:

 Booting a command list

error: invalid file name 'vmlinuz-linux'
error: you need to load the kernel first

Press any key to continue...

What the hell is this?!?

Thank you!
Variance

Offline

#2 2013-04-07 07:49:58

jacobopantoja
Member
From: Madrid
Registered: 2011-03-16
Posts: 44

Re: GRUB2 issues

Try using UUIDs or partition labels as explained in the wiki. Also check that the name of the linux kernel (vmlinuz-linux) is correct, and that you have it stored really in the sda7 partition, and not under a directory /boot in partition sda6.

Offline

#3 2013-04-08 08:00:58

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: GRUB2 issues

Hi,

try:

linux /vmlinuz-linux root=/dev/sda6
#     ^
initrd /initramfs-linux.img
#      ^

take time to daydream, inspiration comes ...

Offline

Board footer

Powered by FluxBB