View previous topic :: View next topic |
Author |
Message |
hennef n00b
Joined: 16 Apr 2005 Posts: 2 Location: finland
|
Posted: Sat Mar 11, 2006 2:17 pm Post subject: [solved] newb install - silly mistake - help! :) |
|
|
Hi all,
so i decided to install gentoo again (last time was a year ago)
I'm not much into linux so i went by the gentoo handbook.
Looks like i left my fstab like this:
/dev/BOOT /boot ext2 noauto,naotime 1 2
/dev/ROOT / ext3 naotime 0 1
/dev/SWAP none swap sw 0 0
which ofcourse should have sda1/2/3 instead of ROOT BOOT and SWAP duh
I'm not able to edit the fstab file, since it's read-only and i can't figure out how rescuing w/ the liveCD works.
How can i fix this now? A step-by-step guide would be appreciated
Last edited by hennef on Sat Mar 11, 2006 2:53 pm; edited 1 time in total |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
Posted: Sat Mar 11, 2006 2:22 pm Post subject: |
|
|
these are the steps u must do to login in your system:
Code: |
1. boot off a live-cd
2. # mount /dev/hdaX /mnt/gentoo
3. # mkdir /mnt/gentoo/boot
4. # mount /dev/hdaX /mnt/gentoo/boot
5. # mount -t proc none /mnt/gentoo/proc
6. # chroot /mnt/gentoo /bin/bash
7. # env-update
8. # source /etc/profile |
now u are in your system, and u can fix what's wrong
reboot:
Code: |
1 # exit
2. # cd /
3. # umount /mnt/gentoo/boot
4. # umount /mnt/gentoo/proc
5. # umount /mnt/gentoo
6. # reboot
|
if any part is unclear plz ask, i will explane in detail. _________________ | 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file | |
|
Back to top |
|
|
hennef n00b
Joined: 16 Apr 2005 Posts: 2 Location: finland
|
Posted: Sat Mar 11, 2006 2:32 pm Post subject: :) |
|
|
Thank you. It's working now |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Sat Mar 11, 2006 2:46 pm Post subject: |
|
|
@sade
You need not do
Code: | mkdir /mnt/gentoo/boot |
It already exists. |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
|
Back to top |
|
|
|