PDA

View Full Version : [xubuntu] Xubuntu 10.10 Recovery from Crash



metallica1973
November 2nd, 2010, 08:55 PM
I installed Xubuntu 10.10 on a penstick and made some changes to FSTAB. Now I get a


initramfs

and a command prompt and I cannot load the kernel.

I added this to fstab to optimize my penstick



tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /tmp/.cache tmpfs defaults,noatime,mode=1777 0 0
shm /dev/shm tmpfs nodev,nosuid,size=6G 0 0
and then ran this to take out journaling:




tune2fs -o journal_data_writeback /dev/sdb5
tune2fs -O ^has_journal /dev/sdb5
e2fsck -f /dev/sdb5
dumpe2fs /dev/sdb5|more


Can I use the Xubuntu 10.10. install cdrom to get to the command prompt to make some changes? Help

Barriehie
November 2nd, 2010, 10:33 PM
SHould be able to. Open a terminal and mount your drive and make the changes. (or uncomment the lines in fstab you changed. ;) )

metallica1973
November 3rd, 2010, 01:59 PM
I booted from the cdrom and could not mount it through the gui. It would error. How can it be mounted via the mount command:


mount /dev/sda1 /media/volume_name

Barriehie
November 3rd, 2010, 03:01 PM
I booted from the cdrom and could not mount it through the gui. It would error. How can it be mounted via the mount command:


mount /dev/sda1 /media/volume_name

What error(s) did you get?


mount -t type /dev/sda1 /media/voume_name

metallica1973
November 5th, 2010, 03:29 PM
I just formatted them machine for it had issue. thanks