Your fstab partitions are " /dev/hda4" and " /dev/hda3",
while in your grub - "set root=(hd0,4)" and "root=/dev/sda4"
I mean it should be either SDA or HDA,
SDA for SCSI drives while HDA for IDE drives

Correct drive names uniformly in /etc/fstab and /boot/grub/grub.cfg
depending on your hard drive type.

EK

On 14 May 2012 16:20, Lázaro Morales <laz...@frioclima.com.cu> wrote:

> En 14/05/2012 08:54:50, Эмиль Кранц <bl8r1...@tut.by> escribió:
>
> > Have a closer look: /dev/sdaX in fstab and /dev/hdaX in error message
> > IDE and SCSI? Typo?
> > Cheerio.
>
> The virtual machine have 1 virtual disk IDE. The '/dev' folder is:
>
>     root:/sources# ls -l /dev | grep sda
>     lrwxrwxrwx 1 root root             4 May  4 11:55 root-> sda1
>     brw-rw---- 1 root daemon    8,     0 May  4 11:55 sda
>     brw-rw---- 1 root daemon    8,     1 May  4 11:55 sda1
>     brw-rw---- 1 root daemon    8,     2 May  4 11:55 sda2
>     brw-rw---- 1 root daemon    8,     3 May  4 12:08 sda3
>     brw-rw---- 1 root daemon    8,     4 May  4 11:56 sda4
>
> The 'fstab' file:
>
>     # Begin /etc/fstab
>
>     # file system  mount-point  type      options              dump  fsck
>     #                                                                order
>
>     /dev/hda4      /            ext3      defaults             1     1
>     /dev/hda3      swap         swap      pri=1                0     0
>     proc           /proc        proc      nosuid,noexec,nodev  0     0
>     sysfs          /sysfs       sysfs     nosuid,noexec,nodev  0     0
>     devpts         /dev/pts     devpts    gid=4,mode=620       0     0
>     tmpfs          /run         tmpfs     defaults             0     0
>     devtmpfs       /dev         devtmpfs  mode=0755,nosuid     0     0
>
>     # End /etc/fstab
>
> The GRUB file
>
>     # Begin /boot/grub/grub.cfg
>     set default=0
>     set timeout=5
>     insmod ext2
>
>     set root=(hd0,4)
>
>     menuentry "GNU/Linux, Linux 3.2.6-lfs-7.1" {
>     linux /boot/vmlinuz-3.2.6-lfs-7.1 root=/dev/sda4 ro
>     }
>
>  Is something wrong there?
>
> Thanks,
> Lázaro
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to