LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 10-16-2006, 06:33 PM   #1
suse91pro
Member
 
Registered: Sep 2004
Distribution: Primary: Windows XP Home Edition SP3/Secondary: Ubuntu 9.10 (Gnome)
Posts: 98

Rep: Reputation: 15
Ubuntu bootloader


I am in the progress of formatting my c drive, so i need to know how to recreate the bootloader after i have reinstal xp. I the past i had alot problems with other linux distro`s after i formatting my c drive.
 
Old 10-16-2006, 07:05 PM   #2
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 858

Rep: Reputation: 88
The easiest way I've found to do this is to install Windows first (that's a priority!), then install all your Linux distros without a bootloader. Lastly, install either Ubuntu or Debian. The Ubuntu/Debian GRUB will auto-detect all the operating systems on your drives.

Others may have other methods. I prefer the Debian/Ubuntu GRUB over any other distros. I've found it to be the only one that accurately auto-detects other operating systems.

Luck!
 
Old 10-16-2006, 07:17 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,264

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Have a look on the Ubuntu wiki - there's an article with all the various options from a Ubuntu users point of view.
Just search for grub.
 
Old 10-16-2006, 07:18 PM   #4
suse91pro
Member
 
Registered: Sep 2004
Distribution: Primary: Windows XP Home Edition SP3/Secondary: Ubuntu 9.10 (Gnome)
Posts: 98

Original Poster
Rep: Reputation: 15
Thank you, but i already have xp and ubuntu on my pc, run them as dual boot. But i need to format my c drive witch have xp on, so just wondered how it would effect my ubuntu partition.
 
Old 10-16-2006, 07:26 PM   #5
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 858

Rep: Reputation: 88
If your Ubuntu's bootloader is on the C drive, formatting it will destroy the Ubuntu GRUB, of course. If the Ubuntu bootloader is on a totally different drive than the Windows (C), then the Windows installation will attempt to kill it. Disconnect your Ubuntu drive and then install Windows. Afterwards, set your BIOS to boot the Ubuntu drive with the GRUB on it.

If you have both of these operating systems on the same drive (C), then formatting the Windows partition only will still destroy the bootloader. Windows will not auto-detect the Ubuntu OS when you do the install. Sadly, Windows has a built-in Darwinian need to destroy all competing operating systems during installation.

Luck!
 
Old 10-16-2006, 07:50 PM   #6
suse91pro
Member
 
Registered: Sep 2004
Distribution: Primary: Windows XP Home Edition SP3/Secondary: Ubuntu 9.10 (Gnome)
Posts: 98

Original Poster
Rep: Reputation: 15
XP is on my c drive and i have ubuntu on it`s own partition, but ubuntu is set to startup first if i don't choose witch system i want use in the grub bootloader.

But how do i disconnect the ubuntu drive and how do set the bios to boot the Ubuntu drive with the grub.

Last edited by suse91pro; 10-16-2006 at 07:51 PM.
 
Old 10-16-2006, 08:30 PM   #7
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 858

Rep: Reputation: 88
If both Windows and Ubuntu are on the same drive, then you'll lose the Ubuntu bootloader as soon as you reinstall Windows. You'll have to seek advice on how to reinstall Ubuntu's bootloader afterwards. I'm not sure how/if it can be done. Sorry.
 
Old 10-16-2006, 11:01 PM   #8
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
hmm ... nothing to post ...

ok ...

its depends on which grub you want to use when your pc boot up ... normally you can do that after any "new" linux installation on whatever partition ...

but if windows is also on the same disks , i think the easiest way is to download a small live cd and work from that with the help of a grub instruction or howto ... i dont really consider ubuntu a live cd actually ...

but ofcause , you could possibly also boot into your linux disk from bios if there is a grub installed on it but it could be a strange setup ... i donno , havent try that yet ...

its quite dangerous , do yourself a flavour and take written notes on every steps you take in the trouble-shooting because notes taking is ... erh ...


//goodluck ... shouldnt be too hard ...

.
 
Old 10-17-2006, 12:30 AM   #9
suse91pro
Member
 
Registered: Sep 2004
Distribution: Primary: Windows XP Home Edition SP3/Secondary: Ubuntu 9.10 (Gnome)
Posts: 98

Original Poster
Rep: Reputation: 15
As i said windows is on the c drive, and ubuntu is on separat partition. where can i download the small live cd, and grub instruction help guide or howto.I have to say that my cd is one of the ubuntu official made cd`s witch is burn so they can work as both a live cd or installation cd, you don`t have to reboot your pc if you try it first as sa live cd or the other way.

Last edited by suse91pro; 10-17-2006 at 12:33 AM.
 
Old 10-17-2006, 12:48 AM   #10
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
ubuntu is a little too heavy to be consider as an "on the move" portable trouble-shooting tool but thats only my prejudice ...

if you had ubuntu installed on another partition , you can try using ubuntu as a live cd and boot it up ... probably it already came with grachical partition/booting tools for you ... if you want to use commandline , heres a link i just lookup , probably it can help you ::

http://www.gnu.org/software/grub/man...ub_002dinstall
try going back and forth a little bit with that page ...

you can probably also try searching for ubuntu specfic documentations on this problem ...


.
 
Old 10-17-2006, 06:56 AM   #11
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
i cant experiment for you , i use grub of my redhat to boot everything after every linux installations and i dont have windows anymore ...

but come to think about it ... why dont you re-install your ubuntu , the installation is quite fast and you probably havent get too personal with the present ubuntu on the disk somewhere ... if you are sure about the partition layout of your disks , shouldnt be a problem i think ...



.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
BootLoader (or arranque) for Ubuntu pacctono Ubuntu 2 08-06-2006 08:58 PM
extra Ubuntu entry in bootloader? phreakshew Ubuntu 4 01-14-2006 03:17 PM
Grub bootloader in Ubuntu 5.04 the_affman Linux - Newbie 11 10-19-2005 09:10 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration