As a result of
this, I am reinstalling slackware 10.1.
During the previous install I created 2 partitionons on hdb and I downloaded some files on the first partition, it was known as /extra1.
During the reinstall I didn't rerun fdisk and I didn't touch those partitions when I recreated swap and / on hda. Now, the 2 partitions on hdb, /extra1 and /extra2 are no where to be found. They weren't in fstab, so I simply edited them in. But I still can't cd to /extra1 or /extra2, either as user or as root.
Code:
bash-3.00# whoami
root
bash-3.00# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 250 2008093+ 82 Linux swap
/dev/hda2 * 251 4866 37078020 83 Linux
bash-3.00# fdisk -l /dev/hdb
Disk /dev/hdb: 30.0 GB, 30000000000 bytes
255 heads, 63 sectors/track, 3647 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 1825 14659281 83 Linux
/dev/hdb2 1826 3647 14635215 83 Linux
bash-3.00#
bash-3.00# cat /etc/fstab
/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hdb1 /extra1 reiserfs defaults 1 2
/dev/hdb2 /extra2 reiserfs defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
bash-3.00#
bash-3.00# cd /extra1
bash: cd: /extra1: No such file or directory
bash-3.00# cd /extra2
bash: cd: /extra2: No such file or directory
bash-3.00#
Maybe my fifth column needs to be 0 for those two entries, or something.
(note: the above stuff was copied and pasted after a reboot)
How can I get back at the files I downloaded to /extra1 without reinstalling and re-running fdisk and wiping out the files there and downloading them again?
Thanks