Hi hi, da~ gia?i quye^'t duo.c ru`i. Thi` ra ta.i ghi sai trong fstab
tho^i (bo? pha^`n mount cua root di la duo.c)
Chi? ta.i ca'i usb modem ma` em pha?i kho^? the^' na`y da^y :(
Xin lo^~i vi` da~ spam :p
Lam Phuong Duy wrote:
Chao moi nguoi
May em dung FC2, hom bua dang xa`i nu*?a chu`ng thi. bi. ddu*'ng, treo
ma'y luon nen phai reset ma'y. The^' la` sau khi reboot FC cu?a em co'
va^'n de^` ngay.
Nhu* mo.i khi, sau khi load kernel no' tha^'y la partition chua duoc
umount hoa`n toa`n ne^n ca^`n check la.i. Em ok va` cha.y fsck cho ca? 3
partition cua FC (/root, /home va` /usr). Sau khi check xong kho^ng
the^? va`o GUI duoc (Gnome) vo*'i ly' do la` : Init: id x respawning
too fast: disabled for 5 minutes. Sau khi google va^~n chu* ca?i
thie^.n ti`nh hi`nh la` ma^'y
Em xin no'i ti`nh hi`nh tra.ng truo'c ro^`i mo*'i ddu*a ra va`i pha^`n
ca^'u hi`nh ma` em dda~ ghi.
Em du`ng live CD Slax de^? sua la.i inittab la` vo^ level 3 (chu*' ko
va`o GUI - level5). Reboot, khi kernel load xong, no' check de^'n pha^`n
mount usb ro^`i cu~ng ba'o la`partition chua umount. Em cu~ng de^? cho
no' check. Sau khi check xong no' ba'o 1 loa.t lo^~i tre^n ma`n hi`nh,
dda so^' toa`n la` do readonly file system. Ro^`i cu~ng va`o de^'n ma`n
hi`nh console de^? mi`nh nha^.p user/pass. Em log ba`ng root thi` no'
ba'o 1 loa.t lo^~i kho^ng tha^'y le^.nh id (id: command not found).
Cha('c la do cha.y file .bashrc hay gi` do'.
Va^'n de^` cu?a em o*? da^y la`: root partition bi mount la readonly
ne^n kho^ng la`m a(n dc gi` ca?. (/usr,/home em de^? tre^n part kha'c)
Xin no'i the^m ve^` ca'ch em pha^n vu`ng FC
/dev/hda8 la root cu?a FC2
/dev/hda9 dduo.c mount den /home
/dev/hda10 dduo.c mount den /usr
/dev/hda5 la partition em du`ng tre^n win
Da^y la` output cu?a 1 va`i le^.nh. Em tha^'y ra^'t ma^u thua^~n
# cat /proc/mounts
rootfs/ rootfs rw 0 0
/dev/root / ext2ro 0 0
/proc /proc procrw,nodiratime 0 0
/sys /syssysfs rw 0 0
none /dev/ptsdevfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
# cat /etc/fstab
/dev/hda8 / ext2defaults1 1
/dev/hda9 /home ext2defaults0 0
/dev/hda10/usrext2defaults0 0
/dev/hda5 /mnt/d vfatdefaults0 0
/dev/hda11noneswapsw 0 0
# df -h
/dev/hda8 969M551M368M60% /
/dev/hda9 969M551M368M60% /home
/dev/hda10969M551M368M60% /usr
/dev/hda5 969M551M368M60% /mnt/d
# mount
/dev/hda8 on / type ext2 (rw)
none on /proc type procfs (rw)
none on /dev/ptstype devpts (rw,mode=0622)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda9 on /home type ext2 (rw)
/dev/hda10on /usrtype ext2 (rw)
/dev/hda5 on /mnt/d type vfat (rw)
Ke^'t qua? cua mount va` df kha'c so vo*'i /proc/mounts. Em thi` tin la`
/proc/mounts chi'nh xa'c ho*n. Vi` co' nhie^`u le^.nh na(`m tre^n
/usr/bin kho^ng tha^'y (/usr co' mount da^u ma` tha^'y)
To'm la.i va^'n de^` :
1. vie^.c mount kho^ng chi'nh xa'c (thu*.c su*. thi` chu*a co' mount
part na`o kha'c ngoa`i /dev/hda8)
2. root partition duo.c mount da.ng readonly
3. linux va^~n boot duoc de^'n ma`n hi`nh login (kho*?i ddo^.ng xong)
4. file log cu?a em (/var/log/message) kho^ng ca^.p nha^.t duo.c nu~a.
Nga`y log cuo^'i la` truo'c khi em crash. (cha('c do readonly ne^n no'
ko log)
Em pha?i chi?nh ca'i gi` de^? no' du`ng co' mount la readonly nu*~a va`
ta.i sao no' cu' check part sau khi kernel load (ma(.c du` em da~ cha.y
fsck he^'t ro^`i)
Lu'c send meo na`y di em va^~n pha?i ti`m ca'ch da^.y, hu hu hu
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
VietLUG-users mailing list
VietLUG-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vietlug-users
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
VietLUG-users mailing list
VietLUG-users@lists.sourceforge.net