LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 09-24-2004, 03:18 PM   #1
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Rep: Reputation: 30
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?


Webwolf

Last edited by webwolf70; 09-24-2004 at 03:23 PM.
 
Old 09-24-2004, 05:49 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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.
 
Old 09-24-2004, 06:01 PM   #3
webwolf70
Member
 
Registered: Feb 2004
Distribution: Windows XP. I gave up with Linux & I left LQ.
Posts: 502

Original Poster
Rep: Reputation: 30
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


Webwolf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Parition on existing install chow-stl Slackware - Installation 5 06-28-2005 06:10 AM
knoppix without mounting / parition bogler Linux - Software 2 05-06-2005 01:26 PM
Parition resizing compu73rg33k Linux - Software 6 08-21-2004 04:34 PM
Help with NTFS parition cereal83 Slackware 3 07-20-2004 01:44 AM
How to change the boot parition in this way? Xiangbuilder Linux - General 16 10-24-2003 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration