[Techtalk] Mounting Confusion
Judith Elaine Bush
bush at grey-cat.com
Wed Dec 4 09:52:02 EST 2002
On Tue, Dec 03, 2002 at 07:12:59AM -0500, Andrew wrote:
>
> Yes, Yes, I am using hdc (a 60gb) as a boot, main, start-up Hddisk. Hda
> is a 15gb. Both are visable with GUI tools. I have yet to figure out he
> proper commands to mount hda, to get files on hda I want. Hdc is fully
> functioning.
>
It appears that your system knows hda as
"/dev/ide/host0/bus1/target0/lun0" You have two mountable out of four
partitions on that system.
[1] The first partition's name is "/dev/ide/host0/bus1/target0/lun0/part1"
It is a swap partition and won't mount. (Not with the mount command.)
Your swap partition is marked bootable. You might want to use fstab to
remove that bootable flag. Apparently, it's not causing you problems.
You might put an entry in fstab for it as
/dev/ide/host0/bus1/target0/lun0 none swap sw 0 0
if you want to use it as swap when you boot.
[2] The next partition is "/dev/ide/host0/bus1/target0/lun0/part2" It is
an extended partition and essentially contains the other
partitions. Ignore it.
[3 & 4]
Your first useful partition is named
"/dev/ide/host0/bus1/target0/lun0/part5" It is a Linux partition (note
that the ID is 83 and the System is "Linux." The next Linux partition
is named "/dev/ide/host0/bus1/target0/lun0/part6"
Assume that you want to mount these in your root directory as hda5 and hda6
> mkdir /hda5
> mkdir /hda6
> mount -v /dev/ide/host0/bus1/target0/lun0/part5 /hda5
> mount -v /dev/ide/host0/bus1/target0/lun0/part6 /hda6
should work as the mount command will test for the file system
type. If you want to avoid probing and can assert that you know these
are what fstab says they are
> mount -vt ext2 /dev/ide/host0/bus1/target0/lun0/part5 /hda5
> mount -vt ext2 /dev/ide/host0/bus1/target0/lun0/part6 /hda6
If you want to make these filesystems mount at boot time, you'll have
to change your /etc/fstab file to mount them.
Good luck!
judith
>
> ----fdisk -l
>
> Disk /dev/ide/host0/bus1/target0/lun0/disc: 16 heads, 63 sectors, 116336
> cylinde
> rs
> Units = cylinders of 1008 * 512 bytes
>
> Device Boot Start End
> Blocks Id System
> /dev/ide/host0/bus1/target0/lun0/part1 * 1 1686
> 849712+ 82 Linux swap
> /dev/ide/host0/bus1/target0/lun0/part2 1687 116336
> 57783600 5 Extended
> /dev/ide/host0/bus1/target0/lun0/part5 1687 24116
> 11304688+ 83 Linux
> /dev/ide/host0/bus1/target0/lun0/part6 24117 116336
> 46478848+ 83 Linux
>
> Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 1867
> cylinder
> s
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks
> Id S
> ystem
> /dev/ide/host0/bus0/target0/lun0/part1 * 128 1867 13976550
> 85 L
> inux extended
> /dev/ide/host0/bus0/target0/lun0/part5 128 1867
> 13976518+ 83 L
> inux
More information about the Techtalk
mailing list