LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Help with dual-boot (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/help-with-dual-boot-180114/)

offput 05-10-2004 07:42 PM

Help with dual-boot
 
I didn't konw where else to put this:

Ok now, don't eviscerate but I'm planning on uninstalling linux from my laptop; not because I'm dissatisfied, I just don't have any purpose for it right now. Now the rub lies in my lack of linux konwhow; I need to get rid of my linux partitions and remove the grub bootloader so it goes to my windows (yes I know... hiss hiss | ereg_replace("s","$","Windows")) without completely fucking my partitions and my data up.

Please do not vilify me for not knowing how to solve this simple problem; I'm far from linux saavy and don't want to mess around without knowing given its capabilities.

vdogvictor 05-10-2004 08:58 PM

If it is 2000 or XP it will get rid of GRUB on its own and you can erase all the partitions during the install. For 9x I do not know if it gets rid of grub...w/ a 98 startup disk run the command

fdisk /mbr

If you are doing 9x you will also need to do partitions using DOS fdisk (type fdisk from the 98 startup disk)

offput 05-10-2004 09:01 PM

I've got XP, so do I just flatten the linux partitions or is there a process involved to let xp take over booting from grub?

vdogvictor 05-10-2004 09:08 PM

Just install it as usual...make sure you use the entire drive and it should all go smooth.

bincles 05-21-2004 10:29 PM

Quote:

Originally posted by vdogvictor
If it is 2000 or XP it will get rid of GRUB on its own and you can erase all the partitions during the install.
i have linux red hat 9 installed and win2k, each one in is own partition with grub on.
recently i've formated the win2k partition, for a fresh win2k install and with that i've lost the grub management.

Now when i turn on my laptop it goes straight to win2k not asking if i want to go to rh9 instead.

How can i fix this? :confused: i've got to much work in the linux partition that i don't want to lose

Please somebody help me

Thanks in advance :)

vdogvictor 05-21-2004 11:15 PM

this probably should have been a new thread but oh well lol

boot of the red hat install CD 1 and type "linux rescue" at the prompt then after it loads run these two commands

chroot /mnt/sysimage
grub-install /dev/hda

change /dev/hda to w/e drive you want grub on and add a partition number if you want it someplace other than the MBR (if windows took it, grub was probably in the MBR already)

bincles 05-22-2004 10:28 AM

thanks for the quick reply :)

now grub appears with redhat9 option and win2k like before, but the win2k option makes a loop. every time i click on it it turns black and returns to the menu.
at least i can now enter linux and save all my stuff.
i will wait for a better laptop (going to sell what i've got) to return to linux again and stay only on it
have to return for a while to M$hit :(

Quote:

Originally posted by vdogvictor
this probably should have been a new thread but oh well lol

i was thinking on it when i reply to this. it was the closest to my search for my problem, so that's why

vdogvictor 05-22-2004 02:56 PM

If you edit the file /etc/grub.conf you can make it so it will boot windows 2000 correctly...it is only like 2 or 3 lines that you need to edit or add.


All times are GMT -5. The time now is 02:34 PM.