Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502
Rep:
Partition/Hard Drive Question
This is my first try at LFS. I am using Mandrake 10.0 Official to get things going. Now I am not sure if this will be a problem or not when I start compiling packages. With Mandrake, Suse and a couple of others they say both of my hard drives are hde and hdf. With other distros it it is the normal hda and hdb. Now could this cause any problems when I am setting up LFS? I used grub through Mandrake and it started to boot Slackware then it would tell me it couldn't find a root partition(Kernel Panic.) This is what Grub in Mandrake was saying: "kernel (hd1,0)/vmlinuz root=/dev/hde7" but "Using Slackware at the time, had no idea what was going on. It needed this to boot properly: "kernel (hd1,0)/vmlinuz root=/dev/hda7" Will there be any like problems with something, other then grub, in LFS since I am using Mandrake to compile everything?
hde and hdf normally refer to the master and slave hard disk on the third IDE channel, i.e. the first channel of the second controller.
Do you have a second IDE controller inside your computer? If so, e case where they might be called hda and hdb is if the kernel does not support the first IDE controller; so long as your kernel has this hardware support, the names should be hde and hdf.
The only thing this would really affect other than the bootloader is /etc/fstab; you're probably best duplicating the lines to cover both combinations, then looking at /proc/partitions to see what's actually been mounted after booting it. From there, you'll know the correct names for everything.
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502
Original Poster
Rep:
Quote:
Originally posted by rjlee hde and hdf normally refer to the master and slave hard disk on the third IDE channel, i.e. the first channel of the second controller.
Do you have a second IDE controller inside your computer? If so, e case where they might be called hda and hdb is if the kernel does not support the first IDE controller; so long as your kernel has this hardware support, the names should be hde and hdf.
The only thing this would really affect other than the bootloader is /etc/fstab; you're probably best duplicating the lines to cover both combinations, then looking at /proc/partitions to see what's actually been mounted after booting it. From there, you'll know the correct names for everything.
Thanks. I don't know that this will be a problem but I will have two fstabs to cover it, uhm, I won't have them both in /etc though, lol
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.