# systemconfig.conf written by systeminstaller.
CONFIGBOOT = YES
CONFIGRD = YES
[BOOT]
ROOTDEV = /dev/sda6
BOOTDEV = /dev/sda
DEFAULTBOOT = 2.6.9-22.ELsmp
[KERNEL0]
PATH = /boot/vmlinuz-2.6.9-22.ELsmp
LABEL = 2.6.9-22.ELsmp
[KERNEL1]
PATH = /boot/vmlinuz-2.6.9-22.EL
LABEL = 2.6.9-22.EL
From: [EMAIL PROTECTED] on behalf of Andrew Weaver
Sent: Wed 01/03/2006 23:07
To: [email protected]
Subject: Re: [Sisuite-users] Grub.Pm again ;-)
Ok..
Uh, Its a "little" better.
It is now
rewriting /etc/fstab with /dev/hda or /dev/sda depending on which
is which,
but it isnt updating my /etc/grub.conf or my /boot/grub/grub.conf
(menu.lst
symlink).
Basically the system works entirely except it isnt writing the
grub.conf,
any more ideas anyone??
What I mean by that is, if I
install on SATA drive, then this is in
/etc/grub.conf
title CentOS
(2.6.9-22.0.2-EL)
root(hd0,0)
kernel
/vmlinuz-2.6.9-22.0.2.EL ro root=/dev/sda3
initrd
/initrd-2.6.9-22.0.2.EL.img
but if i then IMAGE this image onto an IDE
drive, the kernel line is no
longer valid, it needs to change to
/dev/hda3.
Any ideas??
-Drew
----- Original Message
-----
From: "Bernard Li" <[EMAIL PROTECTED]>
To:
<[email protected]>
Sent: Wednesday, March 01, 2006
7:09 PM
Subject: RE: [Sisuite-users] Grub.Pm again ;-)
>I
thought I told you on IRC that there is a more patched up version
;-)
>
> Try the one in the OSCAR repo and see if it is any
better...
>
> Cheers,
>
> Bernard
>
>>
-----Original Message-----
>> From:
[EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]
On Behalf
>> Of Andrew Weaver
>> Sent: Wednesday, March 01,
2006 16:02
>> To: [email protected]
>>
Subject: Re: [Sisuite-users] Grub.Pm again ;-)
>>
>> Bernard,
I am using this one:
>>
>> http://sourceforge.net/project/showfiles.php?group_id=24006
>>
>>
Is that not the current version?
>>
>>
-Drew
>>
>>
>> ----- Original Message
-----
>> From: "Bernard Li" <[EMAIL PROTECTED]>
>> To:
<[email protected]>
>> Sent: Wednesday, March
01, 2006 6:06 PM
>> Subject: RE: [Sisuite-users] Grub.Pm again
;-)
>>
>>
>> > Are you using the
SystemConfigurator RPM from here?
>> >
>> >
>>
http://svn.oscar.openclustergroup.org/oscar/trunk/packages/sis
>>
/distro/co
>> > mmon-rpms/
>> >
>> >
Cheers,
>> >
>> > Bernard
>> >
>>
>> -----Original Message-----
>> >> From:
[EMAIL PROTECTED]
>> >> [mailto:[EMAIL PROTECTED]]
On Behalf
>> >> Of Andrew Weaver
>> >> Sent:
Wednesday, March 01, 2006 14:19
>> >> To:
[email protected]
>> >> Subject: Re:
[Sisuite-users] Grub.Pm again ;-)
>> >>
>> >> I
also wanted to mention that if I change the root= line when
>> >>
the system is
>> >> booting in grub to root/dev/hda3 it works
perfectly. I just need an
>> >> automated way for it to do this.
I know why the root=LABEL=/
>> >> doesnt work,
>>
>> its because when e2mkfs creates the partition it doesnt add
>>
>> the associated
>> >> labels to them.
>>
>>
>> >> Sorry for double post ;-)
>> >>
----- Original Message -----
>> >> From: "Andrew Weaver"
<[EMAIL PROTECTED]>
>> >> To:
<[email protected]>
>> >> Sent:
Wednesday, March 01, 2006 5:15 PM
>> >> Subject: [Sisuite-users]
Grub.Pm again ;-)
>> >>
>> >>
>> >>
> Hate to bother you all again, I took Bernard's
advice
>> >> and upgraded from
>> >> > 3.4 to
3.6.2 and it works a little better, while the master
>> >> script
will
>> >> > detect whether the drive is /dev/hda or /dev/sda,
grub
>> >> still will not
>> >> > install under
the following conditions:
>> >> >
>> >> > I
install CentOS 4.2 on a server on a SATA (/dev/sda) drive.
>> >>
> I si_prepareclient on that server
>> >> > I restore the
CentOS 4.2 image to an IDE (/dev/hda) drive.
>> >> > The
master script creates the appropriate file system
>> >> (parted,
mke2fs)
>> >> > The master script copies all of the data from
the server,
>> >> to the client.
>> >> > When
it gets to the Grub.pm section of systemconfig it says:
>> >>
>
>> >> > No suitable drive was found in the generated
device map.
>> >> > Reverting to backed up copy.
>>
>> > Probing devices to guess BIOS drives. This may take a long
time.
>> >> > Use of uninitialized value in concatenation (.)
or string at
>> >> > /usr/lib/systemconfig/Boot/Grub.pm line
160.
>> >> > Use of uninitialized value in substitution (s///)
at
>> >> > /usr/lib/systemconfig/Boot/Grub.pm line
164.
>> >> > Use of unintialized value in concatenation (.) or
string at
>> >> > /usr/lib/systemconfig/Boot/Grub.pm line
235
>> >> > Use of unintialized value in concatenation (.) or
string at
>> >> > /usr/lib/systemconfig/Boot/Grub.pm line
237
>> >> >
>> >> > Probing devices to guess
BIOS drives. This may take a long time.
>> >> >
>>
>> > Then it unmounts everything...
>> >> > and
pretends as though all is well.
>> >> >
>> >>
> When the box reboots with the hard drive as it's main boot
>>
>> device; I get a
>> >> > confused Grub either trying
to use root=LABEL=/ for root,
>> >> or /dev/sda2 as
>>
>> > root
>> >> >
>> >> > Either
way this appears to fail as I get a kernel panic
>> >> when the
kernel
>> >> > attempts to switch its root.
>>
>> >
>> >> > Any advice would be greatly
appreciated.
>> >> >
>> >> >
Thanks,
>> >> > -Drew
>> >> >
>>
>> >
>> >> >
-------------------------------------------------------
>> >>
> This SF.Net email is sponsored by xPML, a groundbreaking
>>
scripting
>> >> > language
>> >> > that
extends applications into web and mobile media. Attend
>> >> the
live
>> >> > webcast
>> >> > and join the
prime developer group breaking into this new coding
>> >> >
territory!
>> >> >
>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
>>
>> dat=121642
>> >> >
_______________________________________________
>> >> >
Sisuite-users mailing list
>> >> >
[email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>
>> >
>> >>
>> >>
>>
>>
>> >>
-------------------------------------------------------
>> >>
This SF.Net email is sponsored by xPML, a groundbreaking
>> >>
scripting language
>> >> that extends applications into web and
mobile media. Attend
>> >> the live webcast
>> >>
and join the prime developer group breaking into this new
>> >>
coding territory!
>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
>>
>> dat=121642
>> >>
_______________________________________________
>> >>
Sisuite-users mailing list
>> >>
[email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>
>>
>> >
>> >
>> >
-------------------------------------------------------
>> > This
SF.Net email is sponsored by xPML, a groundbreaking scripting
>> >
language
>> > that extends applications into web and mobile media.
Attend
>> the live
>> > webcast
>> > and join
the prime developer group breaking into this new coding
>> >
territory!
>> >
>> http://sel.as-us.falkag.net/sel?cmd___________________________
>>
____________________
>> > Sisuite-users mailing list
>>
> [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>
>
>>
>>
>>
>>
-------------------------------------------------------
>> This SF.Net
email is sponsored by xPML, a groundbreaking
>> scripting
language
>> that extends applications into web and mobile media.
Attend
>> the live webcast
>> and join the prime developer
group breaking into this new
>> coding territory!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&
>>
dat=121642
>>
_______________________________________________
>> Sisuite-users
mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sisuite-users
>>
>
>
>
-------------------------------------------------------
> This SF.Net
email is sponsored by xPML, a groundbreaking scripting
> language
>
that extends applications into web and mobile media. Attend the live
>
webcast
> and join the prime developer group breaking into this new
coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd_______________________________________________
>
Sisuite-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/sisuite-users
>
-------------------------------------------------------
This
SF.Net email is sponsored by xPML, a groundbreaking scripting language
that
extends applications into web and mobile media. Attend the live webcast
and
join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sisuite-users
mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users
