LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2002, 03:36 PM   #1
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Installing Linux


When I am installing Linux it asks what drive to mount it on, I have two HD partitions, C and D. When I type fdisk -l it gives me drives C,F and B, with hda(1 I think), hda2 and hda5. Which one is my D drive, and howcome there is an extra partition?
 
Old 06-20-2002, 03:58 PM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
Have you create the disk space for your Linux installation? or re-partition your HD for linux?

I think your D is hda2.
 
Old 06-20-2002, 04:07 PM   #3
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
No, I am planning on installing Linux on another computer eventually, so I put a version of Linux that would run on a Fat32 partition on this computer, Relax Linux. I'll try installing it on hda2.
 
Old 06-20-2002, 04:33 PM   #4
Stephanie_new
Member
 
Registered: May 2002
Location: Hell, A.K.A. Arizona
Distribution: MD 8x / WIN2K / QNX
Posts: 156

Rep: Reputation: 30
Linux and most other GOOD operating systems do not mount drives as C, D, E, etc. It uses an identifier system to show the drives location and partition table.

The reason for this simple. When Winblows boots, it will only mount those file systems it understands. Linux however, does not. It will see every drive and its various partition scheme whether or not it understands its file system. It does not do this at boot though unless you configure it.

This enables you to have much tighter security protocols implemented and in place. For example, say you are running NTFS, which has security features, but have a drive formatted as FAT32. FAT32 does not have any security, so you could not prevent someone from having full control of your drive. However, with Linux you can, even with FAT32.

hda is a drive on port 1 of your IDE, hdb would be the next on the chain, etc. The number after that designation would be the partition of that specific drive.
 
Old 06-21-2002, 01:17 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Re: Installing Linux

Quote:
Originally posted by pilot1
When I am installing Linux it asks what drive to mount it on, I have two HD partitions, C and D. When I type fdisk -l it gives me drives C,F and B, with hda(1 I think), hda2 and hda5. Which one is my D drive, and howcome there is an extra partition?
My guess on your 'extra' partition may be swap.
 
Old 06-21-2002, 01:50 AM   #6
nincompoop
LQ Newbie
 
Registered: May 2002
Location: Eugene
Distribution: suse, redhat
Posts: 16

Rep: Reputation: 0
What did you create partitions with, and what are you viewing them with?


The reason I ask, is that linux fdisk will show you an extended partition (which isn't really a place to put data, its a place to put other partitions, or "logical drives") in its list.

given that this is your first(A) ide(HD) drive or "hda"

normally primary partitions get numbers 1 (hda1) thru 3 (hda3) or 4 (hda4) depending on whether you have an..
extended parition (only 1 possible per drive) which usually gets hda5 (I think). The numbers which follow hda5 if it is an extended partition are considered logical drives and they are actually contained within the "geographical area" of youe extended parition. what are the starting and ending numbers of the cylinders when you do a "fdisk -l" and what are they labelled as in terms of "hdaX"? Also, what TYPE are they????
 
Old 06-21-2002, 08:51 AM   #7
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
I didn't create any partitions, when I got this computer it had a C and a D partition. Would hda2 be D?
 
Old 06-21-2002, 08:52 AM   #8
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Oh, I'm viewing them with fdisk -l.
 
Old 06-21-2002, 09:26 AM   #9
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
What distro are you using, you can possibly setup the partitioning through the installer (when you first install Linux).
 
Old 06-21-2002, 12:13 PM   #10
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by pilot1
\I am planning on installing Linux on another computer eventually, so I put a version of Linux that would run on a Fat32 partition on this computer, Relax Linux. I'll try installing it on hda2.
See above. It runs on a FAT32 partition, but I have two. C doesn't have enough space and D does. I need to know if hda2 is D.
 
Old 06-21-2002, 01:59 PM   #11
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Quote:
I need to know if hda2 is D.
Yes, hda2 would equate to the second partition on the master hard drive connected to the primary ide port. In Windoze terms, that is "D:". If Linux fdisk is showing an hda1, an hda2, and an hda5, then it would be possible that hda2 is an extended partion with one logical partition (hda5), but that would still be "D:". Linux fdisk should show that to be true.

If you intend to install your Linux distro on the extended partition, that would actually be a good thing. It would/should want to get rid of the single logical partition hda5 and replace it with at least two logical partitions (one for swap and the other for "/" -- root) which would then be hda5 and hda6. Some distros want to have three partitions (swap, "/", and "/boot") which would be hda5, hda6, and hda7.
 
Old 06-21-2002, 02:28 PM   #12
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Thanks guys. It turned out that it was hda5, because hda2 said something like Fat32 Ext'd (LBA)
It wouldn't let me mount anything on hda2.
 
Old 06-21-2002, 04:28 PM   #13
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Rep: Reputation: 15
well actually you have your d: in an extended partition
and /dev/hda2 is your extended filesystem
and dev/hda5 is your first exetended partition = d: in windows
linux always lefts /dev/hda1,2,3,4 you can make 4 primary partitions in linux or 3 primary and one extended.i think.
 
Old 06-21-2002, 04:49 PM   #14
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
When I run loadlin.exe I get an error basically saying that I need to type loadlin.exe root=XXXX where XXXX is my Linux image, what do I do?
 
Old 06-21-2002, 05:13 PM   #15
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Loadlin is really not a good Linux bootloader, but I think it's looking for the partition designation that contains your Linux boot image or has your root location, i.e., /dev/hda5.

You'd be much better off using Lilo or Grub -- either of which can handle both Linux and Win boot requirements.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
newbie in linux-mandrake; installing .rpm vmware for linux jet_espinal Mandriva 2 11-02-2006 07:06 AM
installing redhat linux 9.1 in dual boot mode(actually 98,xp,linux together) linuxchub Linux - Newbie 1 09-16-2004 11:21 AM
Installing programs in linux? which progs? can linux do the things windows can? James-jmpm Linux - Newbie 6 07-02-2004 08:01 PM
Installing windows over linux on a fully partitioned drive for linux reddon84 Linux - Software 2 01-26-2004 07:17 PM
After installing LINUX on a new partition, LINUX boots but WinXP doesn't joelmj Red Hat 5 09-14-2003 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration