2.6.6 kernel compile problem
Hello,
I have some problem with compiling kernel 2.6.6 from Suse 9.1 . After reboot I cannot start some services and X window ( something like: blah blah ... read only file system ), then at log in I have this error: Code:
FATAL: Cannot change permissions of TTY: Read only file system" Thanks in advance. |
Boot into single mode.
Check the permissions of / |
just found this in boot.log
Code:
<5>RAMDISK: Compressed image found at block 0 Code:
File system seems to be mounted read only |
unmount it and mount it read-write :)
umount -a -t reiserfs mount -t reiserfs /dev/hda7 /where/you/mount/it/ussually This should give you read write access. If not, you should do the same, just add some more parameters. |
it doesn't work :( when I un-mount and re-mount it always says hda7 already mounted.
/etc/mtab: Code:
/dev/hda7 / reiserfs rw,alc,user_xattr 0 0 |
Try to make it into
/dev/hda7 / /reiserfs default 0 0 |
the problem is: i cannot write any file ! :((
|
even in single mode? Booting into single mode in Red hat is simple. It is probably simple in suse too. Once in single mode, you should have all the privileges, and rw permissions.
|
Yep, even in single mode :(
I've realized that when i tried to Code:
umount -a -l -t reiserfs Code:
/ not mounted Code:
mount -t reiserfs /dev/hd7 / |
Did you try to change the fstab file? rw,.... to defualt?
Try this. |
It's said to be a fault of SuSE 9.1, some people have the same problem as mine. So i decided to reinstall, everything seem ok until i realized that every applications lag, its not like before. Did some test and here is the result of cpuinfo:
Code:
d047:/home/lam # cat /proc/cpuinfo Code:
<4>Detected 945.946 MHz processor. |
You have to remount it read-write. Try 'mount -o remount,rw /dev/hda7'. Then you can edit your fstab.
|
Quote:
|
After I went though the same nightmare, here's a short howto guide, how it works:
First before you compile and install the new kernel make a rescue entry: change to /boot/grub and edit the menu.lst file. Copy the section title Linux kernel... and initrd Change the new menu entry to point to the original vmlinuz and initrd (should be vmlinuz-2.6.4-54.5-default and initrd-2.4.6-54.5-default) Save the file and reboot. Try to boot with the newly created entry. If this works fine, you have a rescue point. Now change the /etc/fsstab file as mentioned before. Reboot to get a new etc/mtab file. Check if the drive is mounted correctly. Last but not least, compile & install the kernel and modules make install make modules_install Change to the /boot directory again and check with ls -l the vmlinuz and initrd links. They should be set to the newly created kernel and modules (initrd) Do a reboot and try if it's working. Otherwise, you can boot with the rescue entry Dirk |
correction on fstab fix
Quote:
I also deleted my /etc/mtab before rebooting and it worked. Yay. |
All times are GMT -5. The time now is 02:37 AM. |