View previous topic :: View next topic |
Author |
Message |
bus_drivr n00b
Joined: 20 Feb 2003 Posts: 48 Location: Florida
|
Posted: Wed Nov 05, 2003 2:41 am Post subject: Using Gentoo CD to repair a broken system |
|
|
OK just my 2 cents,
To Fix things using the Gentoo install CD:
1) Boot from the CD
2) swapon /dev/hd??
3) mount /dev/hd?? /mnt/gentoo
4) mount -t proc proc /mnt/gentoo/proc
5) chroot /mnt/gentoo /bin/bash
I follow these lines to here, if i need to check my filesystem i can fsck from here and I can use my /etc/fstab to...
6) mount /boot
For me /usr is a different partition so
7) mount /usr
env-update
9)source /etc/profile
10) --fix whatever and reboot. |
|
Back to top |
|
|
bus_drivr n00b
Joined: 20 Feb 2003 Posts: 48 Location: Florida
|
Posted: Wed Nov 05, 2003 2:54 am Post subject: Using Gentoo CD to repair a broken system |
|
|
Actually to fsck you can do that from the LiveCD. If you don't have a hard copy of /etc/fstab cfdisk provides partition info. |
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 3:49 pm Post subject: |
|
|
I cannot edit my grub.conf as this FAQ says.
Code: | nano -w /boot/grub/grub.conf |
It gives an error that says no such file or folder excists. I cannot even create a new one |
|
Back to top |
|
|
|