dual boot Mint and Ubuntu 8.04

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

dual boot Mint and Ubuntu 8.04

Postby aboulayla on Sat Apr 26, 2008 10:22 am

Hello

want to install ubuntu 8.04... I already have Mint and XP on my system.
I have 2 questions:
1-I created a new partion with Gparted for ubunty 10GB-ext3...can I use the linux swap I use for mint to be shared with ubuntu or I have to create another swap partion?
2- can I keep Mint booter instead of letting ubuntu taking over the booting process?

Thanks in advance for your help

Aboulayla
aboulayla
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 26, 2008 10:04 am

Linux Mint is funded by ads and donations.
 

Re: dual boot Mint and Ubuntu 8.04

Postby 67GTA on Sat Apr 26, 2008 10:49 am

They will share your existing swap partition. After installing Ubuntu, we can fix it so that Mint grub will be used, but it can be intimidating for new users because you will have to manually add the Ubuntu 8.04 grub entry manually to Mint's grub menu. Post the output of these two commands, and I will help get you started. Just run each command one at a time from a terminal.

Code: Select all
sudo grub


Code: Select all
find /boot/grub/stage1


This will give you a value such as (hd0,1), or (hd0,2). This is where grub is installed now(Mint). After you install Ubuntu, you will have to change it back. Now post the output of

Code: Select all
sudo fdisk -l


After you post what these commands tell you, I will finish telling you how to make this work.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: dual boot Mint and Ubuntu 8.04

Postby aboulayla on Sat Apr 26, 2008 1:03 pm

I didn't install ubuntu yet I did the command from Mint terminal and got these

BTW I have 2 physical hard drive hda and hdb
hdb3 got linux mint
hdb4 this is where I want to install ubuntu 8.04


here is the result of the script u requested.


Code: Select all
sudo grub


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub>





Code: Select all
find /boot/grub/stage1

 (hd1,1)




Code: Select all
 sudo fdisk -l

Disk /dev/hda: 30.7 GB, 30735581184 bytes
255 heads, 63 sectors/track, 3736 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4d084d07

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3736    30009388+   7  HPFS/NTFS

Disk /dev/hdb: 60.0 GB, 60040544256 bytes
16 heads, 63 sectors/track, 116336 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x83a45034

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       48403    24394671    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hdb2           73632      116328    21519067+  83  Linux
Partition 2 does not end on cylinder boundary.
/dev/hdb3           69743       73632     1959930   82  Linux swap / Solaris
/dev/hdb4           48403       69743    10755517+  83  Linux
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order


aboulayla
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 26, 2008 10:04 am

Re: dual boot Mint and Ubuntu 8.04

Postby aboulayla on Sat Apr 26, 2008 1:05 pm

oops hdb2 is where mint linux is installed
aboulayla
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 26, 2008 10:04 am

Re: dual boot Mint and Ubuntu 8.04

Postby 67GTA on Sat Apr 26, 2008 1:17 pm

That muddies the water a little :D If it were me, I would install 8.04, but before you start the final steps there should be an advanced tab where you can tell Ubuntu not to install it's version of grub. That way Mint's grub will stay intact, and you can just manually edit Mint's grub menu
Code: Select all
sudo gedit /boot/grub/menu.lst
, and add the grub menu entry for 8.04. The easiest way would be to boot back into Mint after installing 8.04, mount 8.04
Code: Select all
sudo mount /dev/hdb4
, and then copy and paste the 8.04 grub menu entries into Mint's. You will want the top two lines like this:

Code: Select all
title      Ubuntu 8.04, kernel 2.6.24-16-generic
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5a6655-5b81-4862-a86a-44f7b67e74cc ro quiet splash rootflags=data=writeback

initrd      /boot/initrd.img-2.6.24-16-generic
quiet

title      Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root      (hd0,1)
kernel      /boot/vmlinuz-2.6.24-16-generic root=UUID=0e5a6655-5b81-4862-a86a-44f7b67e74cc ro single rootflags=data=writeback
initrd      /boot/initrd.img-2.6.24-16-generic


Don't use mine :D Your root and UUID will be different.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 24 guests