FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 04-05-2008, 12:57 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

I have installed Ubuntu 8.04 beta from CD onto one hard drive (sda) on
machine with 3.total (including sdb and sdc). I have other OSs
installed on this machine and use the graphical boot loader GAG to
launch each. With each OS install, I have the installer put the boot
loader on the root partition of that install rather than the MBR.

This has worked fine until now. With Ubuntu, it appears that when I
do the advanced options of the installer (step 7 of 7) and I tell it
to put the boot loader on /dev/sda1 it is not being respected as
Ubuntu will not boot with GAG pointing to this partition and the
partition is not being shown as bootable (No asterisk in the 'Boot'
column of 'fdisk -l' output).

My question is: How do I make that partition bootable at this point.
It's not so much re-installing GRUB as launching GRUB and running
'find /boot/grub/menu.lst' of 'find /boot/grub/stage1' shows that
those cannot be found for /dev/sda1. They *are* seen for my other OS
installs.

The drive is partitioned as /dev/sda1 as / (10GB), /dev/sda2 as /tmp/
(2GB), /dev/sda3 as swap (2GB), and /dev/sda4 as /home (460 GB).

Thanks for any assistance with this.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 03:13 PM
"Dotan Cohen"
 
Default No bootable partition after Ubuntu install

On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
> I have installed Ubuntu 8.04 beta from CD onto one hard drive (sda) on
> machine with 3.total (including sdb and sdc). I have other OSs
> installed on this machine and use the graphical boot loader GAG to
> launch each. With each OS install, I have the installer put the boot
> loader on the root partition of that install rather than the MBR.
>
> This has worked fine until now. With Ubuntu, it appears that when I
> do the advanced options of the installer (step 7 of 7) and I tell it
> to put the boot loader on /dev/sda1 it is not being respected as
> Ubuntu will not boot with GAG pointing to this partition and the
> partition is not being shown as bootable (No asterisk in the 'Boot'
> column of 'fdisk -l' output).
>
> My question is: How do I make that partition bootable at this point.
> It's not so much re-installing GRUB as launching GRUB and running
> 'find /boot/grub/menu.lst' of 'find /boot/grub/stage1' shows that
> those cannot be found for /dev/sda1. They *are* seen for my other OS
> installs.
>
> The drive is partitioned as /dev/sda1 as / (10GB), /dev/sda2 as /tmp/
> (2GB), /dev/sda3 as swap (2GB), and /dev/sda4 as /home (460 GB).
>
> Thanks for any assistance with this.

Make sure that BIOS is configured to boot from the drive with the boot loader.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 04:07 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

On Sat, Apr 5, 2008 at 11:13 AM, Dotan Cohen <dotancohen@gmail.com> wrote:
>
> On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
> > I have installed Ubuntu 8.04 beta from CD onto one hard drive (sda) on
> > machine with 3.total (including sdb and sdc). I have other OSs
> > installed on this machine and use the graphical boot loader GAG to
> > launch each. With each OS install, I have the installer put the boot
> > loader on the root partition of that install rather than the MBR.
> >
> > This has worked fine until now. With Ubuntu, it appears that when I
> > do the advanced options of the installer (step 7 of 7) and I tell it
> > to put the boot loader on /dev/sda1 it is not being respected as
> > Ubuntu will not boot with GAG pointing to this partition and the
> > partition is not being shown as bootable (No asterisk in the 'Boot'
> > column of 'fdisk -l' output).
> >
> > My question is: How do I make that partition bootable at this point.
> > It's not so much re-installing GRUB as launching GRUB and running
> > 'find /boot/grub/menu.lst' of 'find /boot/grub/stage1' shows that
> > those cannot be found for /dev/sda1. They *are* seen for my other OS
> > installs.
> >
> > The drive is partitioned as /dev/sda1 as / (10GB), /dev/sda2 as /tmp/
> > (2GB), /dev/sda3 as swap (2GB), and /dev/sda4 as /home (460 GB).
> >
> > Thanks for any assistance with this.
>
> Make sure that BIOS is configured to boot from the drive with the boot loader.
>
> Dotan Cohen
>

It is. GAG comes up fine. I can boot into my other OSs with no
problem. It's just that /dev/sda1 is not a bootable partition and I
need to make it so.

Any ideas?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 06:03 PM
"Dotan Cohen"
 
Default No bootable partition after Ubuntu install

On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
> > Make sure that BIOS is configured to boot from the drive with the boot loader.
> >
>
> It is. GAG comes up fine. I can boot into my other OSs with no
> problem. It's just that /dev/sda1 is not a bootable partition and I
> need to make it so.
>
> Any ideas?
>

Use fdisk to make the partition bootable. It's the a command.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 08:36 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

On Sat, Apr 5, 2008 at 2:03 PM, Dotan Cohen <dotancohen@gmail.com> wrote:
> On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
>
> > > Make sure that BIOS is configured to boot from the drive with the boot loader.
> > >
> >
>
> > It is. GAG comes up fine. I can boot into my other OSs with no
> > problem. It's just that /dev/sda1 is not a bootable partition and I
> > need to make it so.
> >
> > Any ideas?
> >
>
> Use fdisk to make the partition bootable. It's the a command.
>
>
>
> Dotan Cohen
>

Thanks...that made the drive bootable, but it still appears there's
nothing *on* the drive to boot. Do I need to run 'grub-install' after
this?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 09:55 PM
"Dotan Cohen"
 
Default No bootable partition after Ubuntu install

On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
> Thanks...that made the drive bootable, but it still appears there's
> nothing *on* the drive to boot. Do I need to run 'grub-install' after
> this?
>

I don't think so, but it won't hurt. Are you sure that grub is
pointing to the right partition? Grub starts to count from 0, so (for
example) sda1 is (0,0).

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 10:13 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

On Sat, Apr 5, 2008 at 5:55 PM, Dotan Cohen <dotancohen@gmail.com> wrote:
> On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
>
> > Thanks...that made the drive bootable, but it still appears there's
> > nothing *on* the drive to boot. Do I need to run 'grub-install' after
> > this?
> >
>
> I don't think so, but it won't hurt. Are you sure that grub is
> pointing to the right partition? Grub starts to count from 0, so (for
> example) sda1 is (0,0).
>
>
>
> Dotan Cohen
>

OK...let me show what I have and maybe that will help:

desktop:/home/who # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfdb8211d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 60051 482359626 83 Linux
/dev/sda2 60052 60801 6024375 5 Extended
/dev/sda5 60052 60801 6024343+ 82 Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf18da1dc

Device Boot Start End Blocks Id System
/dev/sdb1 1 10199 81923436 7 HPFS/NTFS
/dev/sdb2 * 10200 12749 20482875 83 Linux
/dev/sdb3 12750 15299 20482875 83 Linux
/dev/sdb4 15300 60801 365494815 83 Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007a82a

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 2611 20972826 83 Linux
/dev/sdc2 2612 2873 2104515 82 Linux swap / Solaris
/dev/sdc3 2874 3004 1052257+ 83 Linux
/dev/sdc4 3005 60801 464254402+ 8e Linux LVM


OK...so /dev/sda is where Ubuntu is installed. On /dev/sdb I have
both Vista and Fedora and on /dev/sdc I have openSUSE. I'm able to
boot to all of these, but not Ubuntu. Also, from the grub prompt I
show:

grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd1,1)
(hd2,0)
grub>


So notice that nothing shows for /dev/sda1 (hd0,0)

What do I need to do to 'fix' this?

Thanks.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 10:16 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

On Sat, Apr 5, 2008 at 6:13 PM, Doctor Who <whodoctor@gmail.com> wrote:
> On Sat, Apr 5, 2008 at 5:55 PM, Dotan Cohen <dotancohen@gmail.com> wrote:
> > On 05/04/2008, Doctor Who <whodoctor@gmail.com> wrote:
> >
> > > Thanks...that made the drive bootable, but it still appears there's
> > > nothing *on* the drive to boot. Do I need to run 'grub-install' after
> > > this?
> > >
> >
> > I don't think so, but it won't hurt. Are you sure that grub is
> > pointing to the right partition? Grub starts to count from 0, so (for
> > example) sda1 is (0,0).
> >
> >
> >
> > Dotan Cohen
> >
>
> OK...let me show what I have and maybe that will help:
>
> desktop:/home/who # fdisk -l
>
> Disk /dev/sda: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xfdb8211d
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 60051 482359626 83 Linux
> /dev/sda2 60052 60801 6024375 5 Extended
> /dev/sda5 60052 60801 6024343+ 82 Linux swap / Solaris
>
> Disk /dev/sdb: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xf18da1dc
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 1 10199 81923436 7 HPFS/NTFS
> /dev/sdb2 * 10200 12749 20482875 83 Linux
> /dev/sdb3 12750 15299 20482875 83 Linux
> /dev/sdb4 15300 60801 365494815 83 Linux
>
> Disk /dev/sdc: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x0007a82a
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 * 1 2611 20972826 83 Linux
> /dev/sdc2 2612 2873 2104515 82 Linux swap / Solaris
> /dev/sdc3 2874 3004 1052257+ 83 Linux
> /dev/sdc4 3005 60801 464254402+ 8e Linux LVM
>
>
> OK...so /dev/sda is where Ubuntu is installed. On /dev/sdb I have
> both Vista and Fedora and on /dev/sdc I have openSUSE. I'm able to
> boot to all of these, but not Ubuntu. Also, from the grub prompt I
> show:
>
> grub> find /boot/grub/stage1
> find /boot/grub/stage1
> (hd1,1)
> (hd2,0)
> grub>
>
>
> So notice that nothing shows for /dev/sda1 (hd0,0)
>
> What do I need to do to 'fix' this?
>
> Thanks.
>

To add to that, if I mount /dev/sda1 locally and then look for
/boot/grub/stage1, it *is* there. Just not being seen.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 10:19 PM
"Doctor Who"
 
Default No bootable partition after Ubuntu install

>
> To add to that, if I mount /dev/sda1 locally and then look for
> /boot/grub/stage1, it *is* there. Just not being seen.
>

I take that back...it's not there. That was a fat-finger mistake and
I was looking at that from my desktop. So grub is not there.

desktop:/mnt/tmp/boot # ls -al
total 10576
drwxr-xr-x 2 root root 4096 2008-03-19 17:44 .
drwxr-xr-x 21 root root 4096 2008-04-05 11:56 ..
-rw-r--r-- 1 root root 422387 2008-03-12 21:43 abi-2.6.24-12-generic
-rw-r--r-- 1 root root 79746 2008-03-12 21:43 config-2.6.24-12-generic
-rw-r--r-- 1 root root 7353114 2008-03-19 17:29
initrd.img-2.6.24-12-generic.bak
-rw-r--r-- 1 root root 103204 2007-09-28 06:06 memtest86+.bin
-rw-r--r-- 1 root root 903816 2008-03-12 21:43 System.map-2.6.24-12-generic
-rw-r--r-- 1 root root 1909528 2008-03-12 21:43 vmlinuz-2.6.24-12-generic

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 10:51 PM
Karl Larsen
 
Default No bootable partition after Ubuntu install

Doctor Who wrote:
>> To add to that, if I mount /dev/sda1 locally and then look for
>> /boot/grub/stage1, it *is* there. Just not being seen.
>>
>>
>
> I take that back...it's not there. That was a fat-finger mistake and
> I was looking at that from my desktop. So grub is not there.
>
> desktop:/mnt/tmp/boot # ls -al
> total 10576
> drwxr-xr-x 2 root root 4096 2008-03-19 17:44 .
> drwxr-xr-x 21 root root 4096 2008-04-05 11:56 ..
> -rw-r--r-- 1 root root 422387 2008-03-12 21:43 abi-2.6.24-12-generic
> -rw-r--r-- 1 root root 79746 2008-03-12 21:43 config-2.6.24-12-generic
> -rw-r--r-- 1 root root 7353114 2008-03-19 17:29
> initrd.img-2.6.24-12-generic.bak
> -rw-r--r-- 1 root root 103204 2007-09-28 06:06 memtest86+.bin
> -rw-r--r-- 1 root root 903816 2008-03-12 21:43 System.map-2.6.24-12-generic
> -rw-r--r-- 1 root root 1909528 2008-03-12 21:43 vmlinuz-2.6.24-12-generic
>
>
I think he needs to find his /boot/grub/menu.lst and add to that this:

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic
root=UUID=a9c1cb61-ddfd-44f6-88b
0-6dc976daf9ca ro single
initrd /boot/initrd.img-2.6.22-14-generic

This should let you boot your Ubuntu. Then look at /boot/grub/menu.lst
on it and change the above for what you have.

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org