LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices


Reply
  Search this Thread
Old 03-29-2005, 10:17 AM   #1
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Rep: Reputation: 15
Question windows linux partitions


Hey, my first post, it's a question and a partial solution for new(er than me) Amigo users that may be helpful to some while installing, I didn't understand the way that linux recognises partitions, for instance my hard drive is a single hard drive, but I've put amigo on drive e: which turns out to be hda6, is there a good source of info on the way linux partitions are named relative to windows partitions, I just got lucky on a google search!

Once I got that out of the way it was a pretty smooth install, now all I have to do is configure my modem and I'll be a much happier bunny

Last edited by daveoily; 03-29-2005 at 10:18 AM.
 
Old 03-29-2005, 11:49 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
The basics:

Motherboard IDE connectors and their associated devices:
Primary IDE master.......: /dev/hda - like C:\
Primary IDE slave.........: /dev/hdb - like D:\
Secondary IDE master..: /dev/hdc - etc...
Secondary IDE slave....: /dev/hdd

Partitions example on hda:
(not that these are recommended or anything)
hda1 - swap
hda2 - boot
hda3 - /
hda4 -(like the windows extended partition with logical drives beginning with hda5)
hda5 - /usr

etc...

On one of my machines /dev/hda is the hard drive (C:\), as the master on IDE1, and /dev/hdb is the cdrom drive (D:\), as the slave on IDE1.
Then on /dev/hda I have only 2 partitions, /dev/hda1 is swap and /dev/hda2 is / .

Here's some additional info.

And here's some more.

Last edited by itsjustme; 03-29-2005 at 11:52 AM.
 
Old 03-29-2005, 01:24 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
There isn't really any accurate way, since windows has a strange way of arriving at a drive letter.
It recognizes the first primary partition on the first IDE-master. (C
If you have no other hard drive, but you have other partitions on the same drive, they will show up as D:, E:, etc.
But, if you DO have other hard drives then any primary partitions on them will be assigned letters before any non-primary partitions on the first drive.
Don't try to relate them -linux makes perfect sense of it by naming them according to their true location.
 
Old 03-29-2005, 03:51 PM   #4
nycace36
Member
 
Registered: Feb 2004
Location: SFBayArea, CA
Distribution: Debian-based, Slackware 10x+
Posts: 185

Rep: Reputation: 22
Would also add two points (from RTFM)
1) The actual pin-interface of a physical storage device in Linux usually indicates what the first letter of the drive will be.
Example 1:
The 24-pin interface on the back of my 3.5" floppy-disk-drive causes Linux to recognize this device as fd0. Note the beginning "f" w/ no third letter in fd0, as opposed to the "h" and "a" in hda. Windows recognizes this as drive A:\
Example 2:
The multi-pinned SCSI interfaces of my daisy-chained and terminated SCSI-drives cause Linux to recognize these devices as sda, sdb, sdc, ... etc.
instead of the IDE-drive hda, hdb, hdc, ... etc. To Windows, these sdx drives are seen as the same C:\, D:\, E:\... etc.

2) IDE drives added to an add-on controller continue the alphabetical progression of hd# drives.
Example: A PCI add-on controller-card with two channels on the card.
Master drive on channel 1: hde
Slave drive on channel 1:hdf
Master drive on channel 2: hdg
Slave drive on channel 2: hdh
 
Old 04-01-2005, 05:50 AM   #5
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
OK, I think I'm starting to get this, well, maybe a bit....

I wanted to get some sort of noddy guide to this, (Intended for a new linux user, as amigo is proving to be a good choice for migration for me at least!) but have ended up reading a bit more stuff than I intended, not that's a bad thing, but anyway. If I've got it right it goes a bit like this (feel free to add the corrections where I screw up please!)

"hda" represents the actual hard drive itself, adding another hard drive would mean that the new device is "hdb" correct? now I don't know the exact ins and outs of it, but theres an initial use of hda's 1 through 4 that is followed, so if you have a partition on the first drive, that in windows would be d: that starts at had5 and after that it gets quite logical (I expect it's quite logical before that and it's just me that doesn't get it yet!) as my e: drive turned out to be hda6 so f: would be hda7 g: would be hda8 etc.... am I right? as for what goes on with a second physical drive, I haven't a clue yet, but I will learn in good time....
 
Old 04-01-2005, 06:22 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

i have this small tutorial

visit
www.linux-iips.tk
there in the "my help pages section" u can have a look at the mounting drives tutorial

regards
 
Old 01-15-2007, 11:40 AM   #7
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
how rude of me forgetting to thank you for your help!

a (very) belated thankyou to you all for your help
 
Old 01-15-2007, 03:39 PM   #8
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Belated is right! Almost 2 years. You must be an exspurt by now.

 
Old 01-16-2007, 10:58 AM   #9
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
I wish I was an exspurt! This thread is something of a relic of a previous me tho nowadays I'm looking at trying to put together a L.F.S. system, running into all sorts of trouble, but havin fun with it anyway...

Think I might try sorcery linux (I think that's what it's called) but I'm goin to need a good internet connection to do that one methinks...
 
  


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
Linux and Windows on different partitions? shaun89 Linux - General 8 07-29-2004 01:59 AM
Windows Partitions in linux Coolstar Linux - Software 3 10-31-2003 11:22 AM
Linux partitions under windows secprovider Linux - Newbie 1 08-21-2003 06:23 AM
Seeing linux partitions in windows lhiggins Linux - Newbie 3 04-16-2003 09:26 AM
Windows partitions in linux??? PenguinOs Linux - Newbie 16 01-12-2002 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo

All times are GMT -5. The time now is 07:29 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
Open Source Consulting | Domain Registration