[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

filesystem troubel with extra disk



Hai,
 
Having two disks; hda is with root filesystem.
                          hdc is with swap(30MB) & +/- 70MB ext2.
 
With installing 2.2r0 (think this will be r3 since installation completely went from ftp). I pointed out the swappartion being /dev/hdc5.
After that i thought (am not supposed to I know) it would be better to have the swappartion on the beginning of hdc.So I ran cfdisk and changed it.
swap in extended partition; ext2 on the end in a primairy partition.
 
On boot the system tells me: (dmesg)
 
Partition check:
 hda: hda1
 hdc: hdc1 hdc2 < hdc5 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 136k freed
Unable to find swap-space signature
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
VFS: Can't find an ext2 filesystem on dev ide1(22,1).
Unable to find swap-space signature
 
=>Teminal suggests using e2fsck -b 8193 <device>
=>So I did;
 
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
/dev/hdc was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
 
/dev/hdc: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hdc: 11/26208 files (0.0% non-contiguous), 3328/104448 blocks
=>Nice to have this information; but I cannot make anything from it.
 
=>I also added /dev/hdc in fstab.
 
#
# <file system> <mount point>   <type>  <options>                       <dump>
<pass>
/dev/hda1       /               ext2    defaults,errors=remount-ro      0
1
/dev/hdc5       none            swap    sw                      0       0
proc            /proc           proc    defaults                        0
0
/dev/fd0        /floppy         auto    defaults,user,noauto            0
0
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto         0
0
/dev/hdc1       /poep           ext2    defaults,errors=remount-ro      0
1
 
=>Do I need to unmount /dev/hdc before I reboot?
=>(Where to automate it?)
 
Thank you for youre trouble in advance,
Kind regards,
Frans Schreuder
 

Reply to: