[clue-tech] mount second hard drive

David L. Willson DLWillson at TheGeek.NU
Mon Jun 23 11:57:29 MDT 2008


You are probably mounting your /boot and swap partitions, rather than your root partition.

Try:

# mount /dev/hdb5 /tmp2
or
# mount /dev/hdb3 /tmp2

If you still don't have what you want, return the output from:

$ su -
# fdisk -l /dev/hdb
# ls -LR /dev/disk

--David


On Mon, 23 Jun 2008 10:49:54 -0600, Bob Meetin wrote
> Sorry but I am having little/no luck with this. I'm not a systems admin 
> techy type.  I could use a series of options or commands to run to get 
> the disk mounted correctly.  The drive I'm booting off is redhat 9; the 
> drive I need to mount is fedora.
> 
> # mkdir /tmp2
> # mount /dev/hdb1 /tmp2
> 
> This seems to mount the drive but all I see is config files, lost+found, 
> vmlinuz.... etc.  If I try something like
> 
> # mount /dev/hdb2 /tmp2
> 
> It says you must specifiy a file system type, so I added a variety of 
> different options like
> 
> # mount -t ext /dev/hdb2 /tmp2  (ext2, ext3, ext2nfs. etc... )
> 
> They all return fs type not supported by kernel.
> 
> -Bob
> ------
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda2             37752584   9506116  26328712  27% /
> /dev/hda1               101089      9274     86596  10% /boot
> none                    378116         0    378116   0% /dev/shm
> /dev/hdb1               101086     18598     77269  20% /tmp2
> 
> [bobbo at localhost ~]$ ls /tmp2
> config-2.6.23.15-80.fc7      lost+found
> config-2.6.23.17-88.fc7      System.map-2.6.23.15-80.fc7
> grub                         System.map-2.6.23.17-88.fc7
> initrd-2.6.23.15-80.fc7.img  vmlinuz-2.6.23.15-80.fc7
> 
> initrd-2.6.23.17-88.fc7.img  vmlinuz-2.6.23.17-88.fc7
> 
> #  David L. Anselmi wrote:
> > Bob Meetin wrote:
> >> What options with the mount command will get me from point a to point 
> >> b?  A temporary mount is fine.
> >
> > The default options should be fine.
> >
> > You need to know where your data is though, which means how your 
> > computer names that partition.  This will probably get you there:
> >
> > https://help.ubuntu.com/7.04/installation-guide/i386/device-names.html
> >
> > Once you know the disk device you can use fdisk -l to show you how it 
> > is partitioned.
> >
> > Dave
> >
> 
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech


-- David



More information about the clue-tech mailing list