Am Mittwoch, den 30.06.2010, 15:20 -0400 schrieb linux fan:
> It booted me and mounted /dev/sdd10
>
> With this in grub.cfg
> =====================
> menuentry "GNU/Linux, with Linux 2.6.33 (search only)" {
> insmod ext2
> search --no-floppy --fs-uuid --set
> 11b62acd-ee91-43f7-a619-c4b5cb5fa5e7
> linux /boot/vmlinux-2.6.33
> }
>
> With this in fstab
> ==================
> # Begin /etc/fstab
> # file system mount-point type options dump fsck
> # order
> #/dev/sdd10 / ext3 defaults 1 1
> UUID=11b62acd-ee91-43f7-a619-c4b5cb5fa5e7 / ext3
> defaults 1 1
> /dev/sdd8 swap swap pri=1 0 0
> proc /proc proc defaults 0 0
> sysfs /sys sysfs defaults 0 0
> devpts /dev/pts devpts gid=4,mode=620 0 0
> tmpfs /dev/shm tmpfs defaults 0 0
> # End /etc/fstab
>
> /boot is on the root partition
If the root parameter (in the linux command) is omitted, then the kernel
will use the partition it was compiled on.
So if you have compiled the kernel on /dev/sda1, the kernel will try to
mount /dev/sda1 as root partition (only if the "root-parameter" is
omitted).
I think this will work in some cases (but you can't rely on it): Some
LFS-Users may compile the kernel on /dev/sda2 and want to use /dev/sda1
as their root partition.
Please correct me, if I'm wrong ...
Sebastian
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page