LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting a linux partition on my secondary IDE (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-a-linux-partition-on-my-secondary-ide-126697/)

linuxjuggler 12-17-2003 01:38 PM

Mounting a linux partition on my secondary IDE
 
$fdisk -l /dev/hdc

Disk /dev/hdc: 16 heads, 63 sectors, 38760 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 61 30712+ 6 FAT16
/dev/hdc4 62 38760 19504296 f Win95 Ext'd (LBA)
/dev/hdc5 62 1077 512032+ 83 Linux
/dev/hdc6 1078 3109 1024096+ 7 HPFS/NTFS
/dev/hdc7 3110 4329 614848+ 82 Linux swap
/dev/hdc8 4330 21542 8675320+ 83 Linux
/dev/hdc9 21543 38760 8677840+ 7 HPFS/NTFS


i really want to mount /dev/hdc5 on /mnt/restore

i say
$ mount -t reiserfs /dev/hdc5 /mnt/restore

it mounts but if i cd to /mnt/restore and do an ls; i get

ls: part1: No such file or directory
ls: usr: No such file or directory
ls: tmp: No such file or directory
ls: getsystemidL: No such file or directory
ls: r: No such file or directory
ls: var: No such file or directory
ls: root: No such file or directory
ls: oct: No such file or directory
ls: opt: No such file or directory
ls: home: No such file or directory
ls: data: No such file or directory
ls: etc: No such file or directory
ls: dev: No such file or directory
ls: lib1: No such file or directory
ls: sbin: No such file or directory
ls: dist: No such file or directory
ls: getsystemid: No such file or directory
ls: sets: No such file or directory
ls: wincs: No such file or directory
ls: c: No such file or directory
ls: misc: No such file or directory
ls: proc: No such file or directory
..... basically it lists the / contents of the restore drive but doesn't let me access.
i have a similar problem with /dev/hdc8. The mount succeeds for the vrfat partition on /dev/hdc1.

the harddrive that i am trying to mount is IBM travelstar model IC25N020ATCS05-0.
the /etc/fstab on this hardrive lists as

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 4 32098+ 6 FAT16
/dev/hdc4 5 2432 19502910 f Win95 Ext'd (LBA)
/dev/hdc5 5 68 514048+ 83 Linux
/dev/hdc6 69 196 1028128+ 7 HPFS/NTFS
/dev/hdc7 197 273 618471 82 Linux swap
/dev/hdc8 274 1350 8650971 83 Linux
/dev/hdc9 1351 2432 8691133+ 7 HPFS/NTFS

I have been struggling to read this one for quite a while. As the listing of files under / on the restore drive indicate, my objective is to move lib1 to lib.

Thank a ton.
amit

Tinkster 12-17-2003 01:58 PM

The only thing I can think of is that the
partitions on hdc have been created with
a newer version of Reiser than the one
you're currently using. There was a break
in compatibility of the FS during a version
jump, but I can't recall from which version
to which it happened. Try googling.


Cheers,
Tink


All times are GMT -5. The time now is 02:51 PM.