LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2006, 09:25 AM   #1
metcalfe
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Rep: Reputation: 0
Talking Little question: ubuntu recognizes other OS already installed?


the question is not so stupid as it seems, although i'm a bit n00b :P

i had to install win 98 for this work at college, and as i was doing a dual boot i thought, heck, why not make it a triple boot?


i have a 1.5GB fat32 partition with win98 installed on it
and the rest of the disk (about 35GB) NTFS with win XP

i plan to resize the ntfs partition and install ubuntu 5.10 on another partition, my question is:

will ubuntu detect correctly both OS's and automagically add them to grub/lilo? or should i take any special measures?

thanks in advance for your help
 
Old 02-28-2006, 12:11 PM   #2
Marcel6
LQ Newbie
 
Registered: Jul 2004
Location: Nottinghamshire, UK
Distribution: Ubunto 5.10
Posts: 4

Rep: Reputation: 0
Yes, Ubuntu will detect other operating systems and automagically add them to grub.
However, best to take copies of your data, I always do. Make sure you chose the right install option. i.e. do not tell Ubuntu to delete!!! I have successfully got Ubuntu to 'add' itself to a PC and two laptops, all different makes.
 
Old 02-28-2006, 12:12 PM   #3
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
It should, but just in caes make note of which is which, i.e. if win98 is on first partition will be hd0,0 in grub or /dev/hda1. XP should be hd0,1 and /dev/hda2.

Also, you might want to make a separate /boot partition during install in case you want to nuke the linux install. Then you'll still have a bootable system, even if you just delete the main linux partition. Otherwise, what will happen is that grub will boot up after the bios and fine it's config files gone and won't know what to do....

Also, be sure to backup data and defragment/scandisk/etc the two windows partitions.
 
Old 02-28-2006, 12:43 PM   #4
metcalfe
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
thanks for your replies!

Quote:
Originally Posted by pljvaldez
you might want to make a separate /boot partition during install in case you want to nuke the linux install. Then you'll still have a bootable system, even if you just delete the main linux partition. Otherwise, what will happen is that grub will boot up after the bios and fine it's config files gone and won't know what to do....
not sure i followed you here, are you saying that i shouldn't istall grub to the MBR?

if the linux install works i will only be messing with it in a few months, when i'm through with win98, full format, so no big deal, but in case something goes wrong while messing with linux i'd certainly like not having to reinstall win98++xp, kind of work i can spare
i'm also planning to make an all purpose/all access fat32 partition for data, so data loss won't be a problem, but could you elaborate on your answer a bit, please?

thanks
 
Old 02-28-2006, 01:01 PM   #5
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
You certainly should install it to the MBR. Grub (and most other boot loaders for that matter) work in two stages. The first stage gets installed to the MBR. The bios calls the first stage and then the first stage reads its configuration files and loads the second stage.

When you partition the drive, you can create multiple partitions. Generally I create a /, swap, and /home. But in your case, you'll also want to create /boot so that grubs config files for the 2nd stage loader live in /boot. Otherwise they'll live in a /boot directory under the / partition. Confused yet???

Try this:

/dev/hda1 Win98
/dev/hda2 XP
/dev/hda3 /boot
/dev/hda4 swap
/dev/hda5 /home
/dev/hda6 /
/dev/hda7 FAT32 shared partition (linux can't reliably write to NTFS, this is how you share files between linux and windows)

Now if you want to delete /dev/hda6, you won't have an unbootable system because grub can still find its config files in /boot. If /boot lived under / (all on /dev/hda3 for example), when you deleted linux, you'd delete the grub config files and have an unbootable system. Clear as mud???
 
Old 02-28-2006, 01:03 PM   #6
metcalfe
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
yep, got that, thank you
 
Old 02-28-2006, 02:18 PM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
This is the best Ubuntu dual boot with Windows guide I've ever seen:
http://users.bigpond.net.au/hermanzone
 
  


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
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 03:58 AM
hii installed ubuntu AKAKAK Ubuntu 1 12-31-2005 03:19 PM
Windows no longer recognizes my USB mass storage after installed Slackware 10.2 ivancauso General 25 12-13-2005 08:03 AM


All times are GMT -5. The time now is 12:59 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