Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
making the grub.conf...*really* confused? [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 172

PostPosted: Tue Jun 26, 2012 9:18 pm    Post subject: Reply with quote

BillWho,
Thanks, and it looks like:
Code:

default 0
timeout 30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.3.8

root (hd0,2)
kernel /boot/kernel-3.3.8-gentoo root=/dev/sda6

title Gentoo Linux 3.3.8 (rescue)

root (hd0,2)
kernel /boot/kernel-3.3.8-gentoo root=/dev/sda6

title Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1


//I haven't installed Windows Vista yet though, i will soon. And I'm encountering wireless problems and internet connection problems too. But at least I got things running :)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Tue Jun 26, 2012 9:31 pm    Post subject: Reply with quote

athena810

For the rescue entry, you might want:
Code:
title Gentoo Linux 3.3.8 (rescue)

root (hd0,2)
kernel /boot/kernel-3.3.8-gentoo root=/dev/sda6 init=/bin/bb

Quote:
I haven't installed Windows Vista yet though, i will soon.

I hope you know that if you install vista (that is from the installation cd) your mbr will be overwritten - i.e. you'll wipe out grub and gentoo will be lost :cry:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 172

PostPosted: Tue Jun 26, 2012 11:06 pm    Post subject: Reply with quote

oh really? That sucks. Yeah, I'm not sure what I'll do. People said that it's possible to dual boot. Maybe I should have installed Windows first. But anyways, I'm having internet problems so, I'll have to fix that first. Thanks for all the help and advice
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 6443
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Jun 26, 2012 11:59 pm    Post subject: Reply with quote

Not all is lost. In fact, most isn't lost. If you save your
  • grub.conf
  • /usr/src/linux/.config
  • /etc/make.conf
then all the hard stuff is figured out for a reinstall. About the only thing wasted is the compile time and I, for one, have no sympathy for the electrons. :wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 172

PostPosted: Wed Jun 27, 2012 12:05 am    Post subject: Reply with quote

Can't I just save the grub.conf, custom install windows vista on /dev/sda1 and /dev/sda2. Then boot from the livecd, mount /dev/sda3, /dev/sda5, and /dev/sda6 and set the grub.conf as hd0 again. wouldn't it still be there since it's not like I mounted windows over the gentoo. It's only gonna mess up the MBR.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Wed Jun 27, 2012 1:30 am    Post subject: Reply with quote

...

Last edited by john-doe on Wed Jun 27, 2012 1:59 am; edited 3 times in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 6443
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 27, 2012 1:31 am    Post subject: Reply with quote

athena810 wrote:
Can't I just save the grub.conf, custom install windows vista on /dev/sda1 and /dev/sda2. Then boot from the livecd, mount /dev/sda3, /dev/sda5, and /dev/sda6 and set the grub.conf as hd0 again. wouldn't it still be there since it's not like I mounted windows over the gentoo. It's only gonna mess up the MBR.
The MBR contains the partition table. It's conceivable that Vista could wipe out the partitions, although I haven't heard that. I thought that's what BillWho was implying would happen, though, which is why I was suggesting saving all the good stuff. I dual boot XP and Gentoo but I've never attempted Vista. Maybe someone else will chime in to confirm or deny.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Wed Jun 27, 2012 1:43 am    Post subject: Reply with quote

John R. Graham,

Any windows installation will overwrite the mbr, but it can be saved with dd and restored :D
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 6443
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 27, 2012 3:00 am    Post subject: Reply with quote

I don't remember XP trashing my partition tables, but do recall reports of Vista doing so. If it leaves the partition table alone, I wouldn't mess with dd but would just re-run grub-install.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 172

PostPosted: Wed Jun 27, 2012 3:47 pm    Post subject: Reply with quote

I had followed this guy's partition scheme though he didn't make it clear if he had installed windows first or gentoo first. Though, I kinda think it would have been smarter to install Windows first. http://forums.gentoo.org/viewtopic-t-860219.html
I'm probably not gonna try installing Windows yet though.

Wait John, you sure XP doesn't mess up partition schemes? Cause, I just might try it.
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
Goto page Previous  1, 2
Page 2 of 2

 
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