[clue-tech] mount second hard drive

Bob Meetin bobm at dottedi.biz
Mon Jun 23 12:18:23 MDT 2008


That's what I figured, anyhow here is more output:

# mount /dev/hdb5 /tmp2
/dev/hdb5: Invalid argument
mount: you must specify the filesystem type

# mount -t ext /dev/hdb5 /tmp2
mount: fs type ext not supported by kernel

# mount -t ext2 /dev/hdb5 /tmp2
mount: wrong fs type, bad option, bad superblock on /dev/hdb5,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

# mount /dev/hdb4 /tmp2
/dev/hdb4: Invalid argument
mount: you must specify the filesystem type

# mount /dev/hdb6 /tmp2
/dev/hdb6: Invalid argument
mount: you must specify the filesystem type

# mount -t ext3 /dev/hdb5 /tmp2
mount: wrong fs type, bad option, bad superblock on /dev/hdb5,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

[# /sbin/fdisk -l /dev/hdb

Disk /dev/hdb: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1        13    104391   83  Linux



/dev/hdb2            14      2491  19904535   8e  Linux LVM



David L. Willson wrote:
> 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
>>>
>>>       
>> _______




More information about the clue-tech mailing list