VnLamp

Go Back   VnLamp > Linux Resources > Linux Forums - Press Releases

Trả lời
 
LinkBack Ðiều Chỉnh Xếp Bài
Tập sự gặp sự cố cần giúp đỡ
Old
  (#1 (permalink))
 
Status: Offline
Posts: 4
Tham gia: Jan 2009
Junior Member
Default Tập sự gặp sự cố cần giúp đỡ - 07-01-2009, 13:7 07-01-2009

Tình hình là em có 1 cái Server chạy FC4 vởi ổ cứng SATA thì bị cúp điện sau đó hư main phải thay main khác tương đương nhưng nó chạy bằng SCSI nên phải cắm card SATA vô chạy nhưng khi khời động FC4 cứ báo lỗi này :

mkrootdev : label=/1 not found
mount : error 2 mounting ext3
ERROR opening /dev/console!!!!: 2
error dup2' ing fd 0 to 0
error dup2' ing fd 0 to 1
error dup2' ing fd 0 to 2
switchroot : mount failed : 22
Kernel panic -not syncing : Attemped to kill init !

Có ai giúp em với !
   
Trả Lời Với Trích Dẫn
Old
  (#2 (permalink))
 
Status: Offline
Posts: 459
Tham gia: Dec 2007
Administrator
 
patrick's Avatar
Default 07-01-2009, 14:7 07-01-2009

Chào bạn,

Bạn co chạy RAID ko?


Kinh nghiệm của chúng tôi là kiến thức của bạn
  Send a message via Yahoo to patrick  
Trả Lời Với Trích Dẫn
Old
  (#3 (permalink))
 
Status: Offline
Posts: 23
Tham gia: Aug 2008
Học viên VNLAMP
Default 07-01-2009, 14:7 07-01-2009

Trích:
mkrootdev : label=/1 not found
Mình nghĩ bạn nên xem kĩ chỗ này!
   
Trả Lời Với Trích Dẫn
Old
  (#4 (permalink))
 
Status: Offline
Posts: 222
Tham gia: Jan 2008
Senior Member
 
mice's Avatar
Default 07-01-2009, 16:7 07-01-2009

máy của bạn bị crash kelnel rồi, bạn search từ khóa này nè

http://www.google.com.vn/search?hl=v...1%BA%BFm&meta=


mice2503
  Send a message via Yahoo to mice Send a message via Skype™ to mice 
Trả Lời Với Trích Dẫn
Old
  (#5 (permalink))
 
Status: Offline
Posts: 368
Tham gia: Dec 2007
Member
 
atula's Avatar
Default 07-01-2009, 18:7 07-01-2009

Hi.
Bạn nên post nội dung của grub.conf lên forum để mọi người check giùm bạn.


Imagination is more important than knowledge…
MY BLOG http://atuladn.spaces.live.com/default.aspx
  Send a message via Yahoo to atula  
Trả Lời Với Trích Dẫn
Old
  (#6 (permalink))
 
Status: Offline
Posts: 4
Tham gia: Jan 2009
Junior Member
Exclamation 07-01-2009, 21:7 07-01-2009

Đây file grub.conf :

default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.11-1.1369_FC4smp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.11-1369_FC4smp ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.11-1369_FC4smp.img
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /boot/vmlinuz-2.6.11-1369_FC4 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.11-1369_FC4.img


Nhưng có 1 điều lạ là khi em gắn ổ cứng đó vào 1 máy binh thường có SATA là nó ko báo lỗi như ban đầu nó load [OK] hết. Nhưng tới lúc fsck thì báo lỗi như sau :

Checking filesystems
/1: clean, 129464/13107200 files, 1140987/13107024 blocks
fsck.ext3: Unable to resolve ‘LABEL=/TNT’
/data: clean, 8942/5385600 files, 217711/5382775 blocks
fsck.ext3: Unable to resolve ‘LABEL=/fileserver’

*** An error occurred during the file system chack.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control – D to countinue) :

Em đã nhập pass root vào nhưng khi mở file /etc/fstab hay file /boot/grub/grub.conf điều bị readonly và em ko sửa đự cái gì hết !
   
Trả Lời Với Trích Dẫn
Old
  (#7 (permalink))
 
Status: Offline
Posts: 4
Tham gia: Jan 2009
Junior Member
Default 07-01-2009, 21:7 07-01-2009

Trích:
Nguyên văn bởi patrick View Post
Chào bạn,

Bạn co chạy RAID ko?
Ah có máy em có card RAID SATA
   
Trả Lời Với Trích Dẫn
Old
  (#8 (permalink))
 
Status: Offline
Posts: 368
Tham gia: Dec 2007
Member
 
atula's Avatar
Default 10-01-2009, 08:10 10-01-2009

Bạn nên sử dụng device name thay vi label xem thử:
kernel /boot/vmlinuz-2.6.11-1369_FC4smp ro root=LABEL=/device/xxx rhgb quiet


Imagination is more important than knowledge…
MY BLOG http://atuladn.spaces.live.com/default.aspx
  Send a message via Yahoo to atula  
Trả Lời Với Trích Dẫn
Trả lời


Ðiều Chỉnh
Xếp Bài

Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt
Trackbacks are Mở
Pingbacks are Mở
Refbacks are Mở


Múi giờ GMT. Hiện tại là 03:21 21-05-2012.