Having trouble finding the extra hard drive I have installed.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Having trouble finding the extra hard drive I have installed.
I'm using a fresh install of Xubuntu 8.10 and I have two ATA hd's. One is a simple 20GB for the OS and the slave is a larger 80gb hd for media storage. The problem is I am unable to locate the slave. Is there a method to finding these? I simply want it for transfering pictures from my camera and music files for storage is all. I have the OS hd set as "master" and have the media hd set as "slave", I assume I did that correctly? I then installed Xubuntu on the entire 20gb hd and after installation I am unable to locate the media 80gb hd. Have I made an error on the way I set up the drives? (slave/master)
If the data cables have 80 wires then you probably should set both drives to cable select rather than master or slave.
Once that is done there are several ways to detect the drives in Ubuntu. The way that works for all distributions is to open a terminal window and enter the fdisk -l command.
If the data cables have 80 wires then you probably should set both drives to cable select rather than master or slave.
Once that is done there are several ways to detect the drives in Ubuntu. The way that works for all distributions is to open a terminal window and enter the fdisk -l command.
Code:
fdisk -l
Thanks for the reply. I don't mean to sound terribly ignorant, but how do I tell besides actually counting each wire if it has 80 wires?
By the looks of it I would say the cable has 80.
I wasn't sure about "cable select" so I set as master/slave but I'll sure look further into cable select. What does "cable select" represent anyway?
Thanks for the reply. I don't mean to sound terribly ignorant, but how do I tell besides actually counting each wire if it has 80 wires?
By the looks of it I would say the cable has 80.
I wasn't sure about "cable select" so I set as master/slave but I'll sure look further into cable select. What does "cable select" represent anyway?
Thanks!
If you had been working with IDE drives for a while you would be able to tell if the data cable had 40 or 80 wires just by looking. Unfortunately I recommend counting the wires. The good news is that you only have to count the first 40 to see if there are any more wires. :-)
Cable select means that the disk drive can determine its position on the cable so the master/slave is set automatically.
The master disk is always on the end of the cable. Setting a disk to 'master' means that you engage terminating resistors in the disk controller. These are used to prevent reflections of the electrical signal back down the cable just as terminators are used on coaxial network cables for the same reason.
So there's a bit of hardware nuts and bolts for you. :-)
neal@neal-desktop:~$ sudo fdisk -l
[sudo] password for neal:
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x92419241
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris
Disk /dev/sdb: 30.0 GB, 30060527616 bytes
255 heads, 63 sectors/track, 3654 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000096
Device Boot Start End Blocks Id System
neal@neal-desktop:~$
I hate to have to post all this but this is what reads from fdisk.
I'm not even sure what the /dev/sda5 is? So looking at this I see that sda1 has a small asterik next to it under boot. Should sda2 have an asterek also?
Does this mean sda2 is not loading at boot? How do I alter it so it loads at boot?
neal@neal-desktop:~$ sudo fdisk -l
[sudo] password for neal:
Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x92419241
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2327 18691596 83 Linux
/dev/sda2 2328 2434 859477+ 5 Extended
/dev/sda5 2328 2434 859446 82 Linux swap / Solaris
This says that the first disk that Linux sees is a 20 GB disk.
This disk has three partitions named sda1, sda2, and sda5. sda1 and sda2 are primary partitions while sda5 is a logical volume partition. This partition is described as a swap partition so that is probably true. This is unusual but obviously not impossible.
The asterisk in the sda1 record means that that partition is marked as active for booting. Only Microsoft operating systems care about this setting.
Quote:
Originally Posted by Indy452
Disk /dev/sdb: 30.0 GB, 30060527616 bytes
255 heads, 63 sectors/track, 3654 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000096
Device Boot Start End Blocks Id System
neal@neal-desktop:~$
This means that the second disk that Linux sees is a 30 GB disk.
This disk has no partitions.
Quote:
Originally Posted by Indy452
... So looking at this I see that sda1 has a small asterik next to it under boot. Should sda2 have an asterek also?
Not necessarily. Only Microsoft operating systems care about the asterisk.
Quote:
Originally Posted by Indy452
Does this mean sda2 is not loading at boot?
No.
Quote:
Originally Posted by Indy452
How do I alter it so it loads at boot?
Neal
That is determined by the boot loader. You can use the Microsoft boot loader if Windows is installed or you can use GRUB or LILO. The last two are generally installed by the Linux installer. (Only one of these two will be installed.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.