Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Hard Drive And Partitions


  • Please log in to reply
4 replies to this topic

#1 Miljet

Miljet

  • Members
  • 66 posts
  • OFFLINE
  •  
  • Location:Texas Gulf Coast
  • Local time:07:49 PM

Posted 07 February 2008 - 06:21 PM

My computer has a single IDE hard drive installed. I just noticed that if I run fdisk -l on the ubuntu trrminal, it displays:

sda1 FAT32 (Windows Recovery)
sda2 NTFS (Win XP)
sda3 Linux (Ubuntu)
sda4 Extended
sda5 Linux Swap (Swap)

However when I look at the menu.lst file in grub, it points to hd0,2: hd0,3: and so forth.

Also if I boot up Puppy, and run fdisk -l, it also lists:

/dev/hda1
/dev/hda2
/dev/hda3
/dev/hda4
/dev/hda5

I understand that sda should refer to a SATA drive and that GRUB numbers drives differently than operating systems.

My question is, why does Ubuntu see my drive differently and does it matter?

BC AdBot (Login to Remove)

 


#2 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:01:49 AM

Posted 08 February 2008 - 04:55 AM

No, it appears fine. If it ain't broke, don't fix it. Those are all ways of saying almost the same thing differently.

On second thought, are your drives sata ot eide:

There was a thread in the Ubuntu forums about the id of ide drives being called sd. I don't recall if there was any impact on the system. But if your really concerned, I would check there. However, as far as partition tables go, if they were wrongly identified, they probably wouldn't work, or work very badly.

Edited by Joedude, 08 February 2008 - 04:58 AM.

If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#3 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:06:49 PM

Posted 08 February 2008 - 09:12 AM

On my systems, in the /dev folder, my drives are identified as sda1, sda2, etc. In Grub, they are identified as hda1, hda2, etc. I wouldn't worry about it. As Joedude said, if it aint's broke....

#4 Miljet

Miljet
  • Topic Starter

  • Members
  • 66 posts
  • OFFLINE
  •  
  • Location:Texas Gulf Coast
  • Local time:07:49 PM

Posted 08 February 2008 - 10:21 PM

Thanks guys. I figured it didn't make much difference since the system is running good, but figured I'd ask the experts. I've just been playing around with making new partitions and modifying my GRUB files (in other words learning by experimenting), and noticed the difference.

#5 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • ONLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:05:49 PM

Posted 09 February 2008 - 11:56 AM

Just adding my voice to the choir here but my drives are identified as /dev/sd** in Linux proper and hd** in GRUB as well. Even external USB drives.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users