Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-11-09 14:37:49

  az - debianlover

az
debianlover
Zarejestrowany: 2009-01-23

could not stat the resume device file '/dev/hda5'

czesc, meczylem instalacje grsec na nowym kernelu, mialem troche problemow ale teraz doszedlem do

Kod:

could not stat the resume device file '/dev/hda5'

moge kliknac enter i jedzie dalej ale nie chce co reboot klikac.. jak to rozwiazac

Kod:

root@debian:~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

Kod:

title           Debian GNU/Linux, kernel 2.6.31.5-grsec
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.31.5-grsec root=/dev/sda1 ro
initrd          /boot/initrd.img-2.6.31.5-grsec

title           Debian GNU/Linux, kernel 2.6.31.5-grsec (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.31.5-grsec root=/dev/sda1 ro single
initrd          /boot/initrd.img-2.6.31.5-grsec

title           Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda1 ro
initrd          /boot/initrd.img-2.6.24-etchnhalf.1-686

title           Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.24-etchnhalf.1-686

probowalem kilku rozwiazan z netu i zawsze to samo ;/

Kod:

root@debian:~ # uname -a
Linux debian 2.6.31.5-grsec #1 SMP Mon Nov 9 11:14:00 CET 2009 i686 GNU/Linux
root@debian:~ # cat /etc/uswsusp.conf | grep sda
resume device = /dev/sda5
root@debian:~ # cat /etc/fstab | grep sda
/dev/sda1       /               ext3    errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
root@debian:~ # cat /boot/grub/menu.lst | grep sda
kernel          /boot/vmlinuz-2.6.31.5-grsec root=/dev/sda1 ro
kernel          /boot/vmlinuz-2.6.31.5-grsec root=/dev/sda1 ro single
root@debian:~ #

Ostatnio edytowany przez az (2009-11-09 17:05:59)


Debian everywhere

Offline

 

#2  2009-11-09 17:15:35

  az - debianlover

az
debianlover
Zarejestrowany: 2009-01-23

Re: could not stat the resume device file '/dev/hda5'

Udalo mi sie, poprawka /etc/initramfs-tools/conf.d/resume

przy "-k all -u" update-initramfs tej wersji kernela mi nie ruszal wiec:

root@debian:~ # update-initramfs -k 2.6.31.5-grsec -u
update-initramfs: /boot/initrd.img-2.6.31.5-grsec has been altered.
update-initramfs: Cannot update. Override with -t option.

root@debian:~ # update-initramfs -k 2.6.31.5-grsec -u -t
update-initramfs: Generating /boot/initrd.img-2.6.31.5-grsec


Debian everywhere

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)