|
|

楼主 |
发表于 2008-1-8 21:24:08
|
显示全部楼层
現在的問題是:
我開機過程中有錯誤。。。
好像是file system的問題,它要我檢查/var/log/fsck/checkfs
checkfs內容如下:
1 Log of fsck -C -R -A -a
2 Tue Jan 8 21:01:53 2008
3
4 fsck 1.40.3 (05-Dec-2007)
5 fsck.ext3: Bad magic number in super-block while trying to open /dev/hda9^M
6 /dev/hda9:
7 The superblock could not be read or does not describe a correct ext2
8 filesystem. If the device is valid and it really contains an ext2
9 filesystem (and not swap or ufs or something else), then the superblock
10 is corrupt, and you might try running e2fsck with an alternate superblock:
11 e2fsck -b 8193 <device>
12
13 fsck died with exit status 8
14
15 Tue Jan 8 21:01:53 2008
16 ----------------
/dev/hda9 以前我是mount /home,現在我用root登入,/home文件夾什麼都沒有。。還得手動加載/dev/hda9跟/home對應才可以看回以前的/home里的內容。。。郁悶。。。感覺是開機因為這個錯誤,而導致盤號都亂了,現在的
#df 內容是這個東西
- debian:/var/log/fsck# df
- Filesystem 1K-blocks Used Available Use% Mounted on
- /dev/hda8 3842376 2300596 1346592 64% /
- tmpfs 514232 0 514232 0% /lib/init/rw
- udev 10240 112 10128 2% /dev
- tmpfs 514232 0 514232 0% /dev/shm
- /dev/hda1 10241404 6710396 3531008 66% /mnt/c
- /dev/hda5 30716248 28758356 1957892 94% /mnt/d
- /dev/hda6 10241404 7719200 2522204 76% /mnt/e
- /dev/hda8 3842376 2300596 1346592 64% /
复制代码
我/hda7應該是 mount /
/hda8 應該是 mount /home
還有一個是mount swap的,忘了hda多少了。。。可能是/dev/hda9
讓我很惊訝。。。/hda7去那了? 到底是什麼回事? )
#fdisk -l 如下(
- # fdisk -l
- Disk /dev/hda: 60.0 GB, 60011642880 bytes
- 255 heads, 63 sectors/track, 7296 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Disk identifier: 0xbdbebdbe
- Device Boot Start End Blocks Id System
- /dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
- /dev/hda2 1276 7295 48355650 f W95 Ext'd (LBA)
- /dev/hda5 1276 5099 30716248+ 7 HPFS/NTFS
- /dev/hda6 5100 6374 10241406 7 HPFS/NTFS
- /dev/hda7 * 6375 6860 3903763+ 83 Linux
- /dev/hda8 6861 7266 3261163+ 83 Linux
- /dev/hda9 7267 7295 232911 82 Linux swap / Solaris
- debian:/var/log/fsck#
复制代码
誰能幫我想個辦法?
另外,附上我之前從新安裝的menu.lst部分內容,一開始安裝時,想引導進Linux,grub中報錯,說找不到文件,我手動改了一個參數,把/dev/hda8 變成/hev/hda7,才可以進Linux ,grub這部分只改了這麼多,我也不知道會否是因為這個而錯了。。。。。。
- title Debian GNU/Linux, kernel 2.6.18-4-686
- 119 root (hd0,6)
- 120 kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda7 ro vga=791
- 121 initrd /boot/initrd.img-2.6.18-4-686
- 122 savedefault
- 123
- 124 title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
- 125 root (hd0,6)
- 126 kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda7 ro single
- 127 initrd /boot/initrd.img-2.6.18-4-686
- 128 savedefault
复制代码 |
|