I have installed CentOS 5.2 on a second hard drive and choosing no when
asking to setup grub on my /dev/hda, leaving my Ubuntu grub intact, now
how do I add CentOS to grub in Ubuntu? My existing grub menu.1st file
looks like this...
I've tried several googled variations using 'makeactive' and
'chainloader +1', but nothing works yet.
--
Robert
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-07-2009, 10:30 PM
Nolan Cooper
Dual boot with CentOS
Nolan flopped in chair, hunched shoulders, and pecked out:
<snip>
>
> Also, my system looks like this....
>
> robert@columbus:~$ fdisk -l
>
<snip>
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 129 1036161 82 Linux swap / Solaris
> /dev/sda2 130 3316 25599577+ 5 Extended
> /dev/sda3 6504 19457 104053005 83 Linux
> /dev/sda4 3317 6503 25599577+ 83 Linux
> /dev/sda5 130 3316 25599546 83 Linux
>
> Partition table entries are not in disk order
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x212d5ea7
>
> Device Boot Start End Blocks Id System
==>> /dev/sdb1 * 1 5099 40957686 83 Linux
==>> /dev/sdb2 5100 19457 115330635 83 Linux
>
<snip>
Just curious?
Is there a reason you lost 7-9 MB of storage in track 5000?
nolan
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-07-2009, 10:37 PM
Nolan Cooper
Dual boot with CentOS
Nolan flopped in chair, hunched shoulders, and pecked out:
> I have installed CentOS 5.2 on a second hard drive and choosing no when
> asking to setup grub on my /dev/hda, leaving my Ubuntu grub intact, now
> how do I add CentOS to grub in Ubuntu? My existing grub menu.1st file
> looks like this...
>
> title Ubuntu 8.10, kernel 2.6.27-13-generic
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.27-13-generic root=/dev/sda4 ro quiet splash
> initrd /boot/initrd.img-2.6.27-13-generic
>
> title Ubuntu 8.10, kernel 2.6.27-13-generic (recovery mode)
> root (hd0,3)
> kernel /boot/vmlinuz-2.6.27-13-generic root=/dev/sda4 ro single
> initrd /boot/initrd.img-2.6.27-13-generic
>
> Also, my system looks like this....
>
> robert@columbus:~$ fdisk -l
>
> Disk /dev/sda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x0000f444
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 129 1036161 82 Linux swap / Solaris
> /dev/sda2 130 3316 25599577+ 5 Extended
> /dev/sda3 6504 19457 104053005 83 Linux
> /dev/sda4 3317 6503 25599577+ 83 Linux
> /dev/sda5 130 3316 25599546 83 Linux
>
> Partition table entries are not in disk order
>
> Disk /dev/sdb: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x212d5ea7
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 5099 40957686 83 Linux
> /dev/sdb2 5100 19457 115330635 83 Linux
>
> I tried the following added to the end of menu.1st, but get an error -
> invalid or unsupported executable format...
>
> title CentOS 5.2
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.18-92.el5xen root=/dev/sdb1 ro quiet splash
> initrd /boot/initrd-2.6.18-92.el5xen.img
>
> I've tried several googled variations using 'makeactive' and
> 'chainloader +1', but nothing works yet.
>
Hi Robert-
I have been told not to post more than once, but "What The Hey"
I might be wrong, I believe the title line for CentOS needs a kernel
specified.
later
nolan
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-08-2009, 04:43 PM
Derek Broughton
Dual boot with CentOS
Nolan Cooper wrote:
> Just curious?
> Is there a reason you lost 7-9 MB of storage in track 5000?
Beats me about this particular case, but I never met a partition tool that
gave me partition sizes exactly the size I request - typically they're
smaller by a few megabytes. I remember once spending far too long trying
to get those last few bits, and I just couldn't do it.
--
derek
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-08-2009, 04:51 PM
Derek Broughton
Dual boot with CentOS
Nolan Cooper wrote:
> Nolan flopped in chair, hunched shoulders, and pecked out:
> Hi Robert-
> I have been told not to post more than once, but "What The Hey"
There's nothing inherently wrong with posting more than once - though it's
odd in this case that you appear to be replying to yourself, not robert -
but you should have something to add when you post again. What drives
people nuts is when you see 3 or 4 identical posts because the poster
seemed to be upset that he didn't get a perfect answer in five minutes.
> I might be wrong, I believe the title line for CentOS needs a kernel
> specified.
No, it's a "title". It has nothing to do with the actual booting.
In Robert's case, it has to do with the image on /dev/sdb1, but since it
isn't an Ubuntu image I can't say off-hand what's wrong with his boot
options, if anything.
If you can get into the CentOS system, and run grub-install onto the
superblock of /dev/sdb1, _then_ you can use "chainloader" to boot. If I'm
running multiple Linuxes, I find this the best method.
--
derek
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users