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 09-22-2010, 02:29 AM
Tom H
 
Default ping Goh Lip - grub2 specialist

On Tue, Sep 21, 2010 at 8:06 PM, Christopher Chan
<christopher.chan@bradbury.edu.hk> wrote:
>
> Know anything about the lousy grub-pc package in Hardy?
>
> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
> to md1 for raid1, pv.
>
> grub-install will complain about "unknown device" if I feed it /dev/sda
> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
> grub-install passes the flags onto grub-setup.

I would avoid grub2 pre-Lucid...

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 02:51 AM
Christopher Chan
 
Default ping Goh Lip - grub2 specialist

On Wednesday, September 22, 2010 10:29 AM, Tom H wrote:
> On Tue, Sep 21, 2010 at 8:06 PM, Christopher Chan
> <christopher.chan@bradbury.edu.hk> wrote:
>>
>> Know anything about the lousy grub-pc package in Hardy?
>>
>> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
>> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
>> to md1 for raid1, pv.
>>
>> grub-install will complain about "unknown device" if I feed it /dev/sda
>> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
>> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
>> grub-install passes the flags onto grub-setup.
>
> I would avoid grub2 pre-Lucid...
>

Oh...so I guess I better hold off any attempt to upgrade from Hardy to
Lucid for the server then. grub it is.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 02:57 AM
Tom H
 
Default ping Goh Lip - grub2 specialist

On Tue, Sep 21, 2010 at 10:51 PM, Christopher Chan
<christopher.chan@bradbury.edu.hk> wrote:
> On Wednesday, September 22, 2010 10:29 AM, Tom H wrote:
>> On Tue, Sep 21, 2010 at 8:06 PM, Christopher Chan
>> <christopher.chan@bradbury.edu.hk> *wrote:
>>>
>>> Know anything about the lousy grub-pc package in Hardy?
>>>
>>> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
>>> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
>>> to md1 for raid1, pv.
>>>
>>> grub-install will complain about "unknown device" if I feed it /dev/sda
>>> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
>>> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
>>> grub-install passes the flags onto grub-setup.
>>
>> I would avoid grub2 pre-Lucid...
>>
>
> Oh...so I guess I better hold off any attempt to upgrade from Hardy to
> Lucid for the server then. grub it is.

Does "grub it is" mean that you aren't upgrading or that you're
upgrading to grub2 after the upgrade to Lucid (the proper way, )?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 03:12 AM
Christopher Chan
 
Default ping Goh Lip - grub2 specialist

On Wednesday, September 22, 2010 10:57 AM, Tom H wrote:
> On Tue, Sep 21, 2010 at 10:51 PM, Christopher Chan
> <christopher.chan@bradbury.edu.hk> wrote:
>> On Wednesday, September 22, 2010 10:29 AM, Tom H wrote:
>>> On Tue, Sep 21, 2010 at 8:06 PM, Christopher Chan
>>> <christopher.chan@bradbury.edu.hk> wrote:
>>>>
>>>> Know anything about the lousy grub-pc package in Hardy?
>>>>
>>>> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
>>>> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
>>>> to md1 for raid1, pv.
>>>>
>>>> grub-install will complain about "unknown device" if I feed it /dev/sda
>>>> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
>>>> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
>>>> grub-install passes the flags onto grub-setup.
>>>
>>> I would avoid grub2 pre-Lucid...
>>>
>>
>> Oh...so I guess I better hold off any attempt to upgrade from Hardy to
>> Lucid for the server then. grub it is.
>
> Does "grub it is" mean that you aren't upgrading or that you're
> upgrading to grub2 after the upgrade to Lucid (the proper way, )?
>

It means that I am going to install grub on the Hardy box (it currently
has lilo thanks to the d-i installer) and I am staying put on the server
until I try out an upgrade of my Hardy desktop to Lucid.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 04:02 AM
NoOp
 
Default ping Goh Lip - grub2 specialist

On 09/21/2010 05:06 PM, Christopher Chan wrote:
> Hey Goh Lip,
>
> Know anything about the lousy grub-pc package in Hardy?
>
> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
> to md1 for raid1, pv.
>
> grub-install will complain about "unknown device" if I feed it /dev/sda
> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
> grub-install passes the flags onto grub-setup.

https://help.ubuntu.com/community/Grub2
[Upgrading to GRUB 2]
https://ext4.wiki.kernel.org/index.php/Ext4_Howto
<https://ext4.wiki.kernel.org/index.php/Ext4_Howto#For_people_who_are_running_Ubuntu>
http://packages.ubuntu.com/hardy/grub-pc
https://launchpad.net/ubuntu/+source/grub2/+bugs
<https://launchpad.net/ubuntu/+source/grub2/+bugs?field.searchtext=hardy&orderby=-importance&search=Search&field.status%3Alist=NEW&f ield.status%3Alist=INCOMPLETE_WITH_RESPONSE&field. status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.st atus%3Alist=CONFIRMED&field.status%3Alist=TRIAGED& field.status%3Alist=INPROGRESS&field.status%3Alist =FIXCOMMITTED&field.assignee=&field.bug_reporter=& field.omit_dupes=on&field.has_patch=&field.has_no_ package=>



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 04:26 AM
Christopher Chan
 
Default ping Goh Lip - grub2 specialist

On Wednesday, September 22, 2010 12:02 PM, NoOp wrote:
> On 09/21/2010 05:06 PM, Christopher Chan wrote:
>> Hey Goh Lip,
>>
>> Know anything about the lousy grub-pc package in Hardy?
>>
>> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
>> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
>> to md1 for raid1, pv.
>>
>> grub-install will complain about "unknown device" if I feed it /dev/sda
>> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
>> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
>> grub-install passes the flags onto grub-setup.
>
> https://help.ubuntu.com/community/Grub2
> [Upgrading to GRUB 2]
> https://ext4.wiki.kernel.org/index.php/Ext4_Howto
> <https://ext4.wiki.kernel.org/index.php/Ext4_Howto#For_people_who_are_running_Ubuntu>
> http://packages.ubuntu.com/hardy/grub-pc
> https://launchpad.net/ubuntu/+source/grub2/+bugs
> <https://launchpad.net/ubuntu/+source/grub2/+bugs?field.searchtext=hardy&orderby=-importance&search=Search&field.status%3Alist=NEW&f ield.status%3Alist=INCOMPLETE_WITH_RESPONSE&field. status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.st atus%3Alist=CONFIRMED&field.status%3Alist=TRIAGED& field.status%3Alist=INPROGRESS&field.status%3Alist =FIXCOMMITTED&field.assignee=&field.bug_reporter=& field.omit_dupes=on&field.has_patch=&field.has_no_ package=>
>

Hey NoOp,

I get it, I get it. Hardy shipped a broken grub2. Not the only thing it
shipped broken on release but it appears to be one of those that never
got any attention. No need to rub the salt in.

I just hope a do-release-upgrade to Lucid won't hose everything later on.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-22-2010, 06:29 AM
Goh Lip
 
Default ping Goh Lip - grub2 specialist

On Wednesday 22,September,2010 08:06 AM, Christopher Chan wrote:
> Hey Goh Lip,
>
> Know anything about the lousy grub-pc package in Hardy?
>
> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
> to md1 for raid1, pv.
>
> grub-install will complain about "unknown device" if I feed it /dev/sda
> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
> grub-install passes the flags onto grub-setup.
>
> cheers,
>
> Christopher
Hi Christopher, just got back and saw this thread. Thanks for your
confidence. Yes, I did have grub2 in my old Hardy, (since scrubbed).
Installed it just by "sudo apt-get install grub-pc".

However, I have no experience in using raid or LVM and at that early
times of grub2, there are problems with it; I believe it has been
resolved and an early resolution (resolution?, okay, solution) was to
set the /boot partition away from the arrays (per Fajar).

So, yes the grub2 as installed in Hardy itself might have problems (per
NoOp) and I am still not sure if the newer grub may handle this. Sorry.

But you can always put in a newer grub version just by "sudo
grub-install --root-directory /dev/sda<Hardy> from a newer version of
livecd or another partition. But remember this does not create any
grub.cfg (menu.lst) by itself.

So, Christopher, I am not that 'expert' as you think and there are
others here, including Tom H who have better experience with the issue.

Apologies, Christopher, I am unable to help you with much, but good luck
with your project.

Regards - Goh Lip

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-23-2010, 05:49 AM
Tom H
 
Default ping Goh Lip - grub2 specialist

On Tue, Sep 21, 2010 at 11:12 PM, Christopher Chan
<christopher.chan@bradbury.edu.hk> wrote:
> On Wednesday, September 22, 2010 10:57 AM, Tom H wrote:
>> On Tue, Sep 21, 2010 at 10:51 PM, Christopher Chan
>> <christopher.chan@bradbury.edu.hk> *wrote:
>>> On Wednesday, September 22, 2010 10:29 AM, Tom H wrote:
>>>> On Tue, Sep 21, 2010 at 8:06 PM, Christopher Chan
>>>> <christopher.chan@bradbury.edu.hk> wrote:
>>>>>
>>>>> Know anything about the lousy grub-pc package in Hardy?
>>>>>
>>>>> Got two disks, sda and sdb. Two primary partitions on each (1,2) with
>>>>> the 1 partitions going to md0 for raid1, ext2 and the 2 partitions going
>>>>> to md1 for raid1, pv.
>>>>>
>>>>> grub-install will complain about "unknown device" if I feed it /dev/sda
>>>>> or dev/sdb or '(hd0)' but will complain about "Can't embed core.img blah
>>>>> blah" if I feed it /dev/md0. Rather, grub-setup will complain after
>>>>> grub-install passes the flags onto grub-setup.
>>>>
>>>> I would avoid grub2 pre-Lucid...
>>>
>>> Oh...so I guess I better hold off any attempt to upgrade from Hardy to
>>> Lucid for the server then. grub it is.
>>
>> Does "grub it is" mean that you aren't upgrading or that you're
>> upgrading to grub2 after the upgrade to Lucid (the proper way, )?
>
> It means that I am going to install grub on the Hardy box (it currently
> has lilo thanks to the d-i installer) and I am staying put on the server
> until I try out an upgrade of my Hardy desktop to Lucid.

OK. Good luck.

For the record, I should've written "I would avoid grub2 pre-Lucid
with /boot on mdraid".

There was an update to grub-probe pre-Lucid-launch (that I'm not sure
was also made to Karmic) that is needed for proper detection of /boot
on mdraid with 0.90 metadata. There was a further update to grub-probe
for proper detection of /boot on mdraid with 1.0, 1.1, 1.2 metadata
post-Lucid-launch (that I'm not sure was made to either Lucid or
Maverick).

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-23-2010, 06:48 AM
Christopher Chan
 
Default ping Goh Lip - grub2 specialist

> For the record, I should've written "I would avoid grub2 pre-Lucid
> with /boot on mdraid".
>
> There was an update to grub-probe pre-Lucid-launch (that I'm not sure
> was also made to Karmic) that is needed for proper detection of /boot
> on mdraid with 0.90 metadata. There was a further update to grub-probe
> for proper detection of /boot on mdraid with 1.0, 1.1, 1.2 metadata
> post-Lucid-launch (that I'm not sure was made to either Lucid or
> Maverick).
>

That's why I dislike the LTS label. With respects to Hardy, it means
nothing when it comes to grub2.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-23-2010, 01:42 PM
Tom H
 
Default ping Goh Lip - grub2 specialist

On Thu, Sep 23, 2010 at 2:48 AM, Christopher Chan
<christopher.chan@bradbury.edu.hk> wrote:
>
>> For the record, I should've written "I would avoid grub2 pre-Lucid
>> with /boot on mdraid".
>>
>> There was an update to grub-probe pre-Lucid-launch (that I'm not sure
>> was also made to Karmic) that is needed for proper detection of /boot
>> on mdraid with 0.90 metadata. There was a further update to grub-probe
>> for proper detection of /boot on mdraid with 1.0, 1.1, 1.2 metadata
>> post-Lucid-launch (that I'm not sure was made to either Lucid or
>> Maverick).
>
> That's why I dislike the LTS label. With respects to Hardy, it means
> nothing when it comes to grub2.

Not sure what to reply except that 8.04 LTS isn't the only edition
with a "neglected" grub2. Karmic's grub2 is at
1.97~beta4-1ubuntu4.1...

--
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 03:10 AM.

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