LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Removing dual-boot setup (https://www.linuxquestions.org/questions/linux-newbie-8/removing-dual-boot-setup-58781/)

ianunderwood 05-08-2003 04:21 PM

Removing dual-boot setup
 
Hi. I'd like to know how to switch from a dual-boot windows/linux setup to a single-boot linux one.

I'm using the default rh9 grub boot loader and I have windows and linux on separate hds. Linux is on the secondary drive, so I really need to swap them around, I guess (so what is now hdd will be hda and vice versa) and use the old windows drive for data. Can someone talk me through the process involved here? When I swap the drives over, what needs to be on the (new) primary drive so that it just boots into linux and how can I save the grub configuration in case it all goes horribly wrong?

Cheers, Ian Underwood

iceman47 05-08-2003 07:25 PM

You'll need to install grub on the secondary drive, backup the grub config file, remove the windows line in the grub configfile and change the startup linux line from hdd to hda, partition the vfat/ntfs drive to ext3 or something.
That should be it.

JZL240I-U 05-09-2003 08:44 AM

Re: Removing dual-boot setup
 
Quote:

Originally posted by ianunderwood
....
Linux is on the secondary drive, so I really need to swap them around, I guess (so what is now hdd will be hda and vice versa)
....
Cheers, Ian Underwood
Why? Linux works perfectly from where it is, I gather. Never repair a working system. :D (Just think of the problems with /etc/fstab and assorted links ...). My suggestion: just launder the Win-drive and be done.

ianunderwood 05-09-2003 09:10 AM

Excuse me as I'm about to be dumb. The first suggestion above, that I remove the windows line from the grub config: once I've done this, will I still get the grub screen when I start up (with only a single option)? It's no big deal but if so, why not remove grub completely?

Anyway, you're right about leaving the drives as they are!

Cheers

JZL240I-U 05-09-2003 09:25 AM

Should be windows line_s_. Yeah do that. To be on the secure side, just make a copy: cp grub.conf grub.conf.old that is always better for the peace of mind ;) .

You need grub. It is the equivalent of the Win-Boot loader and does the same job for Linux or any OS of your choice (much more comfortable in its handling than the Win-Boot loader, though). Do not remove it.

ianunderwood 05-09-2003 09:30 AM

Understood. Cheers


All times are GMT -5. The time now is 12:40 AM.