Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
n00b grub mistake
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
garbageman
n00b
n00b


Joined: 24 May 2004
Posts: 8

PostPosted: Tue Jun 01, 2004 2:51 am    Post subject: n00b grub mistake Reply with quote

first time installing gentoo,
my partitions look like this:

hda - Windowz (20 gig maxtor)
hdc1 - /boot
bdc2 - swap
hdc3 - /
hdc5 - /opt
hdc6 - /home

while installing grub, i accidentally typed in:
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

now because of that my box will only boot to windows, and there is no way that i know of to get back into my linux partition to change the grub settings. Could use any help you can offer.

Thanks
Back to top
View user's profile Send private message
po0f
Apprentice
Apprentice


Joined: 08 Apr 2004
Posts: 162

PostPosted: Tue Jun 01, 2004 2:52 am    Post subject: Reply with quote

Use a linux boot disk, mount the partition, change and save.
Back to top
View user's profile Send private message
garbageman
n00b
n00b


Joined: 24 May 2004
Posts: 8

PostPosted: Tue Jun 01, 2004 2:54 am    Post subject: Reply with quote

thanks a lot
Back to top
View user's profile Send private message
shadowrift
n00b
n00b


Joined: 29 May 2004
Posts: 58

PostPosted: Tue Jun 01, 2004 2:54 am    Post subject: Reply with quote

I am not that good with linux yet but couldn't you just boot back with the gentoo boot cd?.........which would mean you praboly have to go into bios ant tell it to boot the cd-rom first
Back to top
View user's profile Send private message
garbageman
n00b
n00b


Joined: 24 May 2004
Posts: 8

PostPosted: Tue Jun 01, 2004 3:16 am    Post subject: Reply with quote

one problem, when i get to where i want to run /mnt/gentoo/boot/grub/grub.conf
or anything like that it tells me that permission is denied...i cant su cause im in the live cd, and im still quite new at this, any ideas?

thanks
Back to top
View user's profile Send private message
po0f
Apprentice
Apprentice


Joined: 08 Apr 2004
Posts: 162

PostPosted: Tue Jun 01, 2004 3:23 am    Post subject: Reply with quote

What do you mean by running?

nano -w /mnt/gentoo/boot/grub/grub.conf should work.
Back to top
View user's profile Send private message
garbageman
n00b
n00b


Joined: 24 May 2004
Posts: 8

PostPosted: Tue Jun 01, 2004 2:00 pm    Post subject: Reply with quote

i was having a problem with the CD for some reason, so i changed the bios to boot to hdd-1, and it came up with grub, only problem was it was giving me an error. I am in school right now so im not looking at the computer but i know it gave me the error 17, which i believe is a problem mounting filesyste. any help would be very much appreciated.
the disks formats are:

hda1 - hd0 - NTFS
hdc1 - hd1 - ext2
hdc2 - hd1 - Linux swap
hdc3 - hd1 - ReiserFS
hdc5 - hd1 - ReiserFS
hdc6 - hd1 - ReiserFS

once again, any help would be very much appreciated as I am almost thinking about just totall reinstalling, seeing as everything was right save my one typing error in the installation of grub.

thanks in advance
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