Page 1 of 1

lost vista boot loader after install

PostPosted: Sat Jun 07, 2008 1:31
by electrodad
hi,
i have used linux in the past also the first dist. of Sabayon. I had a existing dual boot system of Vista Business and PCLinux Gnome. I decided to load the latest version of Sabayon during install I chose to remove all linux partitions for disk setup. Unfortunately when I rebooted the Vista option did not show up in the boot lodaer menu. Is there a way to get vista in the boot loader again? Many thanks ! :cry:

Re: lost vista boot loader after install

PostPosted: Sat Jun 07, 2008 2:25
by xlnagla
This would be slightly more convenient if you still had your old grub.conf, but adding a few lines to /boot/grub/grub.conf should do it. First thing you need to know is where is vista - sda1, sda2, sda3, sdb1, etc. Once you figure that out, just add to /boot/grub/grub.conf

title "Windows Vista"
root (hd0,0)
chainloader +1

(hd0,0) assumes both that you have an IDE drive and that Vista is on the first partition of the primary drive. (hd0,1) would be second, etc.

~xlnagla

Re: lost vista boot loader after install

PostPosted: Sat Jun 07, 2008 3:39
by electrodad
Well I think I'm hosed. I cannot seem to get the LILO boot manager configured properly without error messages popping up. I also cannot mount the vista partition under the storage media desktop. I do however have a recent image of my vista partition I can reload I'll loose a few emails. If I were to load Sabayon again on a empty partition along with Vista should it create the proper boot loader?

Re: lost vista boot loader after install

PostPosted: Sat Jun 07, 2008 3:51
by eMxyzptlk
Are you sure that you didn't erase the whole drive? what does
Code: Select all
# fdisk -l /dev/sda
give you ?

Anyway, in case your partition is still there, take a look at my grub configuration maybe it'll help, but if you don't have the partition anymore you'll have to reinstall both Vista and Sabayon ( unless you don't mind using windows in VirtualBox, it'll save you lots of headaches) ...

Re: lost vista boot loader after install

PostPosted: Sat Jun 07, 2008 3:58
by xlnagla
You're not hosed, your problem is that you're not using GRUB - restore vista, and then re-run the SL DVD and choose "create new bootloader configuration". We don't really do lilo anymore.

~xlnagla

Re: lost vista boot loader after install

PostPosted: Sun Jun 21, 2009 2:48
by livinglifeback
i'm got a similar issue to his my computer loaded into vista fine i did some updates added virtual box and then my vista loader satrted booting into sabayon? any help i looked at the posts above and have no idea how to edit a config file

Re: lost vista boot loader after install

PostPosted: Sun Jun 21, 2009 4:20
by joeoden
livinglifeback wrote:any help i looked at the posts above and have no idea how to edit a config file

You can learn about grub by typing man grub in a terminal
You edit files as root, there is a few ways to do it, I prefer using a filemanager as root, more advanced users would just use nano or vi the easy way in this case would to type kdesu kwrite /boot/grub/grub.conf also you could edit or reinstall grub using the grub editor in the advanced tab of syetem settings

For a lot more info have a read of the wiki and search for grub or and boot in the newbies forum

Re: lost vista boot loader after install

PostPosted: Mon Jun 22, 2009 4:40
by livinglifeback
i need to knowf where the kernel for windows is my computer booted fine until i updated sabayon and then my grub was changed so that the windows and sabayon are booting the same kernel

but i've never edited the kernel, even the original copy of the menu shows it booting into the linux kernal but i've never changed that and it didn't orginaly boot into sabayon, so where is the windows kernel stored?

Re: lost vista boot loader after install

PostPosted: Wed Jun 24, 2009 3:48
by kodiakmax
post output of:
Code: Select all
/boot/grub/grub.conf

and
Code: Select all
fdisk -l