* RE: need help with milo and repartitioning
@ 2001-11-05 8:45 Heid Oliver
2001-11-05 16:34 ` Michal Jaegermann
0 siblings, 1 reply; 7+ messages in thread
From: Heid Oliver @ 2001-11-05 8:45 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I think I can reproduce your problem: When I have LABEL=/ in (stock RH7.1)
fstab, and boot from milo, df tells me /dev/sda2 is mounted as root, despite
/dev/sdc3 (the correct one from the kernel param "root=/dev/sdc3") is
actually mounted (!!). Just take a look at the partition sizes. Needless to
say, this behaviour is quite dangerous..
Om my machine, the fix was easy: I replaced all the LABEL=.. stuff in fstab
by the proper /dev/sd.. designators.
Oliver
> I have a second Alpha machine (533 Mhz 164lx) running
> Debian/Alpha/Woody and v2.4.12 of the kernel. It uses the Alphabios
> and milo to boot. That works fine if sda1 stores the kernel,
> ldlinload, and milo, sda2 for root, and sda3 for usr.
>
> Now I want to rearrange some of the partitions (to convert all to
> reiserfs) and temporarily use sdb3 for root and sdb4 for usr while
> still maintaining sda1 as the boot space for milo, kernel, etc. I have
> modified the OS options of Alphabios with the parameters
> "root=/dev/sdb3 single", but milo seems to ignore this after the boot
> (note: I have /etc/fstab temporarily modified in the sdb3 copy to use
> sdb4 as usr, etc.). I can see the parameters getting passed during the
> boot, but the system boots exactly as before. It is as if the normal
> parameters were hard coded into milo somehow.
>
> Can anyone help me with this? One option I probably should do anyway
> is boot from a floppy (passing the same parameters) and see if this
> will work. A second option I might do is convert to SRM (similar to my
> first Alpha) which I like better anyway.
>
> Also, the remaining partitions are already converted to reiserfs. I
> also tried to boot v2.4.13 and it gave me problems for some reason.
> I noticed a v2.2-18 of milo that supports reiserfs on alphalinux.org.
> Do I need this to boot in this instance? The version of aboot I use on
> my SRM machine supports reiserfs also. Is this my problem?
>
> --
> James D. Freels, P.E._i, Ph.D.
> Oak Ridge National Laboratory
> freelsjd@ornl.gov - work
> jdfreels@home.com - home
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: need help with milo and repartitioning
2001-11-05 8:45 need help with milo and repartitioning Heid Oliver
@ 2001-11-05 16:34 ` Michal Jaegermann
0 siblings, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 2001-11-05 16:34 UTC (permalink / raw)
To: axp-list
On Mon, Nov 05, 2001 at 09:45:06AM +0100, Heid Oliver wrote:
> I think I can reproduce your problem:
I would be _really_ surprised if that would be the case but I do
not have a machine with milo to check. Still ...
> When I have LABEL=/ in (stock RH7.1)
> fstab, and boot from milo, df tells me /dev/sda2 is mounted as root, despite
> /dev/sdc3 (the correct one from the kernel param "root=/dev/sdc3") is
> actually mounted (!!).
Something like that will really happpen if in that fstab
you are using (you may have many if you have multiple installations
on the same machine) you have a line which starts with
LABEL=/ / ....
Anaconda indeed puts "/" as a label on a root partition while installing
and if you have multiple partitions with the same label the one which
will be scanned first "wins". OTOH nothing says that a label on a root
partition _has_ to be "/". You may put there "MyOwnRoot", or whatever
else you want and make labels unique, or you may mount by UUID (see 'man
mount' and 'man tune2fs' for adding/replacing labels).
If fstab is messed up what gets really mounted and what gets _reported_
are often not the same thing. I have seen that on numerous occasions
when disks got new positions due to hardware changes but /etc/fstab
was not adjusted yet. On the first "single" boot one has to be really
careful to write where you think you are writing.
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: need help with milo and repartitioning
@ 2001-11-02 21:50 James D. Freels
0 siblings, 0 replies; 7+ messages in thread
From: James D. Freels @ 2001-11-02 21:50 UTC (permalink / raw)
To: debian-alpha; +Cc: axp-list
All these problems were fixed by using the milo provided by
Stefan Reinauer that is compatible with Reiserfs:
http://www.suse.de/~stepan/binaries/2.2-18/
Even the v2.4.13 kernel started working that heretofore would not boot.
On Thursday 01 November 2001 03:11 pm, James D. Freels wrote:
> I have a second Alpha machine (533 Mhz 164lx) running
> Debian/Alpha/Woody and v2.4.12 of the kernel. It uses the Alphabios
> and milo to boot. That works fine if sda1 stores the kernel,
> ldlinload, and milo, sda2 for root, and sda3 for usr.
>
> Now I want to rearrange some of the partitions (to convert all to
> reiserfs) and temporarily use sdb3 for root and sdb4 for usr while
> still maintaining sda1 as the boot space for milo, kernel, etc. I
> have modified the OS options of Alphabios with the parameters
> "root=/dev/sdb3 single", but milo seems to ignore this after the boot
> (note: I have /etc/fstab temporarily modified in the sdb3 copy to use
> sdb4 as usr, etc.). I can see the parameters getting passed during
> the boot, but the system boots exactly as before. It is as if the
> normal parameters were hard coded into milo somehow.
>
> Can anyone help me with this? One option I probably should do anyway
> is boot from a floppy (passing the same parameters) and see if this
> will work. A second option I might do is convert to SRM (similar to
> my first Alpha) which I like better anyway.
>
> Also, the remaining partitions are already converted to reiserfs. I
> also tried to boot v2.4.13 and it gave me problems for some reason.
> I noticed a v2.2-18 of milo that supports reiserfs on alphalinux.org.
> Do I need this to boot in this instance? The version of aboot I use
> on my SRM machine supports reiserfs also. Is this my problem?
--
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <Pine.BSO.4.33.0111011634480.30574-100000@campus.iztacala.unam.mx>]
* Re: need help with milo and repartitioning
[not found] <Pine.BSO.4.33.0111011634480.30574-100000@campus.iztacala.unam.mx>
@ 2001-11-02 14:15 ` James D. Freels
0 siblings, 0 replies; 7+ messages in thread
From: James D. Freels @ 2001-11-02 14:15 UTC (permalink / raw)
To: Gunnar Wolf; +Cc: debian-alpha, axp-list
Yes, I think it does. The bootlx file is written to the boot drive
using swriteboot. Then aboot (on my system) reads the kernel from the
first partition on the drive that is starting at sector 2 to leave
enough space for aboot, etc. That partition *is* reiserfs on my
system. Therefore, the aboot has read the kernel from a reiserfs.
I think that is what is wrong with the equivalent Alphabios system,
that the milo I am using does not recognize reiserfs.
BTW, the reiserfs is working fine on my SRM alpha.
On Thursday 01 November 2001 05:37 pm, Gunnar Wolf wrote:
> Now, I am not sure, but I think aboot does not understand reiser yet
> - What I did in my system (164LX/600) is to have a small (100MB) ext2
> root partition, and all my important partitions as reiser.
--
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: need help with milo and repartitioning
@ 2001-11-02 9:14 Heid Oliver
0 siblings, 0 replies; 7+ messages in thread
From: Heid Oliver @ 2001-11-02 9:14 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Well, I use the same arrangement on my PC164: I boot milo from
/dev/sda1 (DOS label, FAT), and have / on /dev/sdc3 (BSD disklabel). My milo
is stock RH6.2 (v2.0.35 AFAIR). WIth SRM on PC164s, you may get into trouble
with 2.4 kernels (see recent postings - some SRM related stuff is missing in
2.4 kernels). 2.2 kernels work nicely, though.
Oliver
> I have a second Alpha machine (533 Mhz 164lx) running
> Debian/Alpha/Woody and v2.4.12 of the kernel. It uses the Alphabios
> and milo to boot. That works fine if sda1 stores the kernel,
> ldlinload, and milo, sda2 for root, and sda3 for usr.
>
> Now I want to rearrange some of the partitions (to convert all to
> reiserfs) and temporarily use sdb3 for root and sdb4 for usr while
> still maintaining sda1 as the boot space for milo, kernel, etc. I have
> modified the OS options of Alphabios with the parameters
> "root=/dev/sdb3 single", but milo seems to ignore this after the boot
> (note: I have /etc/fstab temporarily modified in the sdb3 copy to use
> sdb4 as usr, etc.). I can see the parameters getting passed during the
> boot, but the system boots exactly as before. It is as if the normal
> parameters were hard coded into milo somehow.
>
> Can anyone help me with this? One option I probably should do anyway
> is boot from a floppy (passing the same parameters) and see if this
> will work. A second option I might do is convert to SRM (similar to my
> first Alpha) which I like better anyway.
>
> Also, the remaining partitions are already converted to reiserfs. I
> also tried to boot v2.4.13 and it gave me problems for some reason.
> I noticed a v2.2-18 of milo that supports reiserfs on alphalinux.org.
> Do I need this to boot in this instance? The version of aboot I use on
> my SRM machine supports reiserfs also. Is this my problem?
>
> --
> James D. Freels, P.E._i, Ph.D.
> Oak Ridge National Laboratory
> freelsjd@ornl.gov - work
> jdfreels@home.com - home
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* need help with milo and repartitioning
@ 2001-11-01 20:11 James D. Freels
2001-11-02 4:25 ` jsturm1
0 siblings, 1 reply; 7+ messages in thread
From: James D. Freels @ 2001-11-01 20:11 UTC (permalink / raw)
To: debian-alpha; +Cc: axp-list
I have a second Alpha machine (533 Mhz 164lx) running
Debian/Alpha/Woody and v2.4.12 of the kernel. It uses the Alphabios
and milo to boot. That works fine if sda1 stores the kernel,
ldlinload, and milo, sda2 for root, and sda3 for usr.
Now I want to rearrange some of the partitions (to convert all to
reiserfs) and temporarily use sdb3 for root and sdb4 for usr while
still maintaining sda1 as the boot space for milo, kernel, etc. I have
modified the OS options of Alphabios with the parameters
"root=/dev/sdb3 single", but milo seems to ignore this after the boot
(note: I have /etc/fstab temporarily modified in the sdb3 copy to use
sdb4 as usr, etc.). I can see the parameters getting passed during the
boot, but the system boots exactly as before. It is as if the normal
parameters were hard coded into milo somehow.
Can anyone help me with this? One option I probably should do anyway
is boot from a floppy (passing the same parameters) and see if this
will work. A second option I might do is convert to SRM (similar to my
first Alpha) which I like better anyway.
Also, the remaining partitions are already converted to reiserfs. I
also tried to boot v2.4.13 and it gave me problems for some reason.
I noticed a v2.2-18 of milo that supports reiserfs on alphalinux.org.
Do I need this to boot in this instance? The version of aboot I use on
my SRM machine supports reiserfs also. Is this my problem?
--
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: need help with milo and repartitioning
2001-11-01 20:11 James D. Freels
@ 2001-11-02 4:25 ` jsturm1
0 siblings, 0 replies; 7+ messages in thread
From: jsturm1 @ 2001-11-02 4:25 UTC (permalink / raw)
To: axp-list; +Cc: debian-alpha
On Thu, 1 Nov 2001, James D. Freels wrote:
> Now I want to rearrange some of the partitions (to convert all to
> reiserfs) and temporarily use sdb3 for root and sdb4 for usr while
> still maintaining sda1 as the boot space for milo, kernel, etc. I have
> modified the OS options of Alphabios with the parameters
> "root=/dev/sdb3 single", but milo seems to ignore this after the boot
> (note: I have /etc/fstab temporarily modified in the sdb3 copy to use
> sdb4 as usr, etc.). I can see the parameters getting passed during the
> boot, but the system boots exactly as before. It is as if the normal
> parameters were hard coded into milo somehow.
It seems that the way parameters are passed to the kernel somehow
changed in 2.4. I saw this too, using aboot rather than milo. Upgrading
to the latest aboot fixed it for me.
Jeff
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-11-05 16:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-05 8:45 need help with milo and repartitioning Heid Oliver
2001-11-05 16:34 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2001-11-02 21:50 James D. Freels
[not found] <Pine.BSO.4.33.0111011634480.30574-100000@campus.iztacala.unam.mx>
2001-11-02 14:15 ` James D. Freels
2001-11-02 9:14 Heid Oliver
2001-11-01 20:11 James D. Freels
2001-11-02 4:25 ` jsturm1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox