Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] alternative to delete-reinstall?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Trotskey
n00b
n00b


Joined: 16 Jul 2009
Posts: 38

PostPosted: Tue Jul 21, 2009 11:24 pm    Post subject: [SOLVED] alternative to delete-reinstall? Reply with quote

I just recently (unsucessfully) installed gentoo using the Minimal Install CD. The most obvious problem is that I messed up my GRUB conf.d file, though I wouldn't be suprised if I had messed a few more things up. But what I'm really after is:

Do I have to restart the whole process to fix my mistake at the end? Does a simple chroot fix everything?
_________________
If it works the first time, there must be something terribly wrong with it.


Last edited by Trotskey on Wed Jul 22, 2009 3:40 pm; edited 2 times in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Jul 21, 2009 11:51 pm    Post subject: Reply with quote

If all you did was mess up your grub.conf, but the actual installation of grub worked (the boot loader was correctly installed to the MBR of the right disk), then you don't even need to chroot. Just boot the install CD and mount your boot partition, then edit the grub.conf file. If you need to reinstall grub, then you'll need to follow the instructions in the handbook for mounting your partitions and chrooting.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
Trotskey
n00b
n00b


Joined: 16 Jul 2009
Posts: 38

PostPosted: Wed Jul 22, 2009 2:25 am    Post subject: Reply with quote

yabbadabbadont>

no good. I entered:
Code:
 #mount /dev/sda5 /mnt/gentoo/boot

as you said, but when I go to open up grub.conf, I just get a blank document. I also tried chrooting, but it didn't recognize the command.
_________________
If it works the first time, there must be something terribly wrong with it.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Jul 22, 2009 2:52 am    Post subject: Reply with quote

Then you did something wrong. Go back and re-read the handbook from the beginning through the chroot and grub sections. If it still doesn't work, start the install from scratch.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jul 22, 2009 11:54 am    Post subject: Reply with quote

Hi, can you post this :

Code:

# fdisk -l


Also, can you tell us what partition do you use for your / and also for your /boot.

Finally, can you post the command that you use to chroot your box ?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Jul 22, 2009 12:20 pm    Post subject: Reply with quote

Trotskey, you need to mount and mkdir in order, something like this
installation doc wrote:
livecd ~ # mount /dev/sda3 /mnt/gentoo
livecd ~ # mkdir /mnt/gentoo/boot
livecd ~ # mount /dev/sda1 /mnt/gentoo/boot
livecd ~ # cd /mnt/gentoo


Then you should be able to chroot and/or edit your config files.
Back to top
View user's profile Send private message
Trotskey
n00b
n00b


Joined: 16 Jul 2009
Posts: 38

PostPosted: Wed Jul 22, 2009 1:46 pm    Post subject: Reply with quote

ugh.. how lysdexic of me. I only mounted the /boot partition even though all the good stuff is was in the / partition. Thank you yabbadabbadont. I can now boot gentoo without a CD, but I still need the CD to fix a few things, such as the lack of an internet connection. :wink:
_________________
If it works the first time, there must be something terribly wrong with it.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jul 22, 2009 5:38 pm    Post subject: Reply with quote

Nice.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum