View Full Version : 2nd hard drive not seen
craigilman
Oct 24th 2005, 10:29 PM
I decided not to bother with dual operating systems on different partitions, and I've installed a removable hard drive bay as Master disk. I have on HD with Windoze XP and one with Kubuntu. Under Windoze I can see my 2nd slave drive - but under Kubuntu - it's not there! Any ideas?
whoiam55
Oct 25th 2005, 04:37 AM
In Linux you must mount your HDD/partition before you can use them. post the output of sudo fdisk -l && cat /etc/fstab if you want help mounting your HDD/partitions.
aysiu
Oct 25th 2005, 05:20 AM
Follow the directions in http://www.ubuntuguide.org/#windows
sudo fdisk -l will tell you the location of the drive (/dev/hda1 or /dev/hdb1, etc.)
craigilman
Oct 25th 2005, 05:45 PM
I'll try that! - Just need to swap my drives over... currently logged on in windoze
craigilman
Oct 29th 2005, 07:24 PM
here's the result:
craig@ubuntu:~$ sudo fdisk -l && cat /etc/fstab
Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 31 248976 83 Linux
/dev/hda2 32 4998 39897427+ 5 Extended
/dev/hda5 32 4998 39897396 8e Linux LVM
Disk /dev/hdb: 20.4 GB, 20491075584 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 2 2491 20000925 f W95 Ext'd (LBA)
/dev/hdb5 2 2491 20000893+ b W95 FAT32
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/mapper/Ubuntu-root / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /boot ext3 defaults 0 2
/dev/mapper/Ubuntu-swap_1 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
craig@ubuntu:~$
I look forward to your always helpful advice!
whoiam55
Oct 30th 2005, 08:56 AM
ok, Open shell and do the following
1.sudo mkdir /windows this will create a folder name windows on root(/)
2.sudo mkdir /windows/c this will create a subfolder under windows
3.sudo mkdir /windows/d this will create a subfolder under windows
4.sudo echo /dev/hdb1 /windows/c vfat umask=000 0 0 >>/etc/fstab To mount your c: drive to /windows/c folder.
5.4.sudo echo /dev/hdb5 /windows/c vfat umask=000 0 0 >>/etc/fstab To mount your d: to /windows/d
6.sudo mount -a to remount all/new partitions.
7.ls /windows/c Hope you can see your C: drive
8.ls /windows/c Hope you can see your D: drive
Hope this help.
Cheers!
craigilman
Oct 30th 2005, 08:27 PM
I tried what you suggested but I got a "permission denied" after i typed :
sudo echo /dev/hdb1 /windows/c vfat umask=000 0 0 >>/etc/fstab
well I actually copied and pasted it - could that be the problem?
also - are the number of spaces between all the characters critical?
craigilman
Oct 31st 2005, 10:28 PM
Still not managed to get to see my second drive in Kubuntu
also...
I installed wine - and now I can't see any of my hard drive partitions under storage media :( it just shows the floppy drive or if i have a CD in it shows that.
I've just installed crossover office trial - hopefully I'll find that easier to use for installing win software
whoiam55
Nov 1st 2005, 04:00 AM
I installed wine - and now I can't see any of my hard drive partitions under storage media :( it just shows the floppy drive or if i have a CD in it shows that.
:lol: Wine is for running windows programs not accessing windows partitions
whoiam55
Nov 1st 2005, 04:02 AM
I tried what you suggested but I got a "permission denied" after i typed :
it must ask you for the password, what password you supplying ? No space is not critical, I typed this all here so you can copy paste it ;)
aysiu
Nov 1st 2005, 04:19 AM
In Linux you must mount your HDD/partition before you can use them.
While technically true, it's a bit misleading. In Kubuntu and Ubuntu you have to manually mount or set up in /etc/fstab to automount. Mepis and Knoppix will do all this when you just click on the partition's icon.
whoiam55
Nov 1st 2005, 05:01 AM
In Kubuntu and Ubuntu you have to manually mount or set up in /etc/fstab to automount. Mepis and Knoppix will do all this when you just click on the partition's icon.
If you install Kubuntu/ubuntu with your windows hdd attached, kubuntu/ubuntu installer automatically configure your /etc/fstab file to mount them. How could you supposed to mount a partition without entrying it in /etc/fstab ? may I ask you to check your /etc/fstab file in knoppix/mepis ?
craigilman
Nov 3rd 2005, 09:30 PM
I installed wine - and now I can't see any of my hard drive partitions under storage media :( it just shows the floppy drive or if i have a CD in it shows that.
:lol: Wine is for running windows programs not accessing windows partitions
I wasn't saying that I've installed it to be able to see the drives... what I meant was that after installing it I can't see ANY of my HDs not even the Linux partitions. I can ONLY see the floppy icon in the storage media folder.
The password you wanted to know what it was... well it's the same one I use for sudo - so it should work. I've only got the one password on there - only 1 user set up
I copied your advice verbatim... and got the permission denied thing come up
whoiam55
Nov 4th 2005, 05:25 AM
check this http://kubuntuforums.net/index.php?topic=1320.0
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.