* Boot From SRM
@ 1998-05-30 4:00 Randy Cushman
1998-05-31 4:00 ` Vivek Venugopalan
0 siblings, 1 reply; 12+ messages in thread
From: Randy Cushman @ 1998-05-30 4:00 UTC (permalink / raw)
I am trying to configure Linux to boot from SRM (on my AS 200). This is
easy enough from a floppy, but I would prefer to boot DIRECTLY FROM THE
HARD DISK!
I have tried installing aboot to the disk after partitioning using
fdisk, but when I do, the fdisk partition table seems to get clobbered.
I have tried partitioning using minlabel, but the installation fails
with a "Device not configured" error.
Suggestions?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-05-30 4:00 Boot From SRM Randy Cushman
@ 1998-05-31 4:00 ` Vivek Venugopalan
1998-06-01 4:00 ` Maciej W. Rozycki
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Vivek Venugopalan @ 1998-05-31 4:00 UTC (permalink / raw)
On Sat, 30 May 1998 17:32:44 GMT, Randy Cushman
<Randy.Cushman@Bigfoot.Com> wrote:
>I am trying to configure Linux to boot from SRM (on my AS 200). This is
>easy enough from a floppy, but I would prefer to boot DIRECTLY FROM THE
>HARD DISK!
>
>I have tried installing aboot to the disk after partitioning using
>fdisk, but when I do, the fdisk partition table seems to get clobbered.
>
>I have tried partitioning using minlabel, but the installation fails
>with a "Device not configured" error.
>
>Suggestions?
Randy
Fdisk will not work u have to use minlabel. How are you using min
label exactly? The way I did it was during RH install process, when
it prompts you to select a disk partition program (diskdruid, fdisk
etc) I select diskdruid and once inside druid, I switched to another
console and ran minlabel using /tmp/sda as the device (/dev/sda is not
configured yet) and then it was real simple from there on...
Cheers,
Vivek Venugopalan
vivek(at)mcs(dot)net
That was done to prevent spammers.
Please remove the garbage in my <reply to> address before
replying back to me.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-01 4:00 ` Randy Cushman
@ 1998-05-31 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 0 replies; 12+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-05-31 4:00 UTC (permalink / raw)
>>>>> "RC" == Randy Cushman <Randy.Cushman@Bigfoot.Com> writes:
RC> Linux doesn't seem to be acknowledging the BSD partition
RC> table.
RC> What am I missing?
Try rebooting your machine. Sometimes Linux doesn't re-read the
partition tables or disklabel correctly, but a reboot will correct
that.
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-05-31 4:00 ` Vivek Venugopalan
@ 1998-06-01 4:00 ` Maciej W. Rozycki
1998-06-01 4:00 ` Engelhard
1998-06-01 4:00 ` Randy Cushman
2 siblings, 0 replies; 12+ messages in thread
From: Maciej W. Rozycki @ 1998-06-01 4:00 UTC (permalink / raw)
On Sun, 31 May 1998, Vivek Venugopalan wrote:
> On Sat, 30 May 1998 17:32:44 GMT, Randy Cushman
> <Randy.Cushman@Bigfoot.Com> wrote:
>
> >I have tried installing aboot to the disk after partitioning using
> >fdisk, but when I do, the fdisk partition table seems to get clobbered.
> >
> >I have tried partitioning using minlabel, but the installation fails
> >with a "Device not configured" error.
>
> Fdisk will not work u have to use minlabel. How are you using min
> label exactly? The way I did it was during RH install process, when
> it prompts you to select a disk partition program (diskdruid, fdisk
> etc) I select diskdruid and once inside druid, I switched to another
> console and ran minlabel using /tmp/sda as the device (/dev/sda is not
> configured yet) and then it was real simple from there on...
If you find minlabel crude (just as I did), you may prefer to use fdisk
in BSD disklabel mode (run fdisk and type <b>). Also, don't forget to
leave some free space at the beginning of the disk for aboot itself.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-05-31 4:00 ` Vivek Venugopalan
1998-06-01 4:00 ` Maciej W. Rozycki
1998-06-01 4:00 ` Engelhard
@ 1998-06-01 4:00 ` Randy Cushman
1998-05-31 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
2 siblings, 1 reply; 12+ messages in thread
From: Randy Cushman @ 1998-06-01 4:00 UTC (permalink / raw)
Vivek Venugopalan wrote:
>
> On Sat, 30 May 1998 17:32:44 GMT, Randy Cushman
> <Randy.Cushman@Bigfoot.Com> wrote:
>
> >I am trying to configure Linux to boot from SRM (on my AS 200). This is
> >easy enough from a floppy, but I would prefer to boot DIRECTLY FROM THE
> >HARD DISK!
> >
> >I have tried installing aboot to the disk after partitioning using
> >fdisk, but when I do, the fdisk partition table seems to get clobbered.
> >
> >I have tried partitioning using minlabel, but the installation fails
> >with a "Device not configured" error.
> >
> >Suggestions?
>
> Randy
> Fdisk will not work u have to use minlabel. How are you using min
> label exactly? The way I did it was during RH install process, when
> it prompts you to select a disk partition program (diskdruid, fdisk
> etc) I select diskdruid and once inside druid, I switched to another
> console and ran minlabel using /tmp/sda as the device (/dev/sda is not
> configured yet) and then it was real simple from there on...
>
> Cheers,
> Vivek Venugopalan
> vivek(at)mcs(dot)net
>
> That was done to prevent spammers.
> Please remove the garbage in my <reply to> address before
> replying back to me.
I started minlabel similarly to how you described (I started fdisk,
instead of diskdruid). Inside minlabel I configured the following
partitions (using the 'a' command:
# size offset fstype
1: 2048 1 unused
2: 262144 2049 swap
3: 3927194 264193 ext2
I saved this partition information with 'w', then exited with 'q'.
I went back and quit fdisk, then pressed the done button. I got the
following message: "You don't have any Linux native partitions defined.
You must return to repartition your hard drive.
Linux doesn't seem to be acknowledging the BSD partition table.
What am I missing?
Randy C.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-05-31 4:00 ` Vivek Venugopalan
1998-06-01 4:00 ` Maciej W. Rozycki
@ 1998-06-01 4:00 ` Engelhard
1998-06-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-02 4:00 ` Randy Cushman
1998-06-01 4:00 ` Randy Cushman
2 siblings, 2 replies; 12+ messages in thread
From: Engelhard @ 1998-06-01 4:00 UTC (permalink / raw)
Vivek Venugopalan wrote:
...
> >I have tried partitioning using minlabel, but the installation fails
> >with a "Device not configured" error.
> >
> >Suggestions?
>
> Randy
> Fdisk will not work u have to use minlabel. How are you using min
You could use fdisk, just type b after selecting fdisk.
b option is an option to use BSD disk label.
engel.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-01 4:00 ` Engelhard
@ 1998-06-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-01 4:00 ` Michal Jaegermann
1998-06-02 4:00 ` Randy Cushman
1 sibling, 1 reply; 12+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-06-01 4:00 UTC (permalink / raw)
>>>>> "E" == Engelhard <engel@cbn.net.id> writes:
E> You could use fdisk, just type b after selecting fdisk. b
E> option is an option to use BSD disk label.
Just to remind everyone...if you want to share the disk with either
Digital UNIX or BSD, you'll need to use their disklabel program, not
Linux's minlabel or fdisk. For some reason the Linux partitioning
programs are incompatible with Digital UNIX and BSD (dunno why).
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-06-01 4:00 ` Michal Jaegermann
1998-06-10 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 1998-06-01 4:00 UTC (permalink / raw)
His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated (xenophon@irtnog.org) wrote:
: For some reason the Linux partitioning
: programs are incompatible with Digital UNIX and BSD (dunno why).
They are compatible if used in that way (and peeking into documentation
definitely helps with understanding). The other way is compatible
with partitioning used by MS-DOS (all these Intel machines) and NT.
If you want to use on your Alpha DU, Linux and NT then you need at
least two disks and Linux can live on one or another. DU does not
understand a partitioning scheme used by NT and vice-versa.
--mj
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-01 4:00 ` Engelhard
1998-06-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-06-02 4:00 ` Randy Cushman
1998-06-02 4:00 ` Engelhard
1 sibling, 1 reply; 12+ messages in thread
From: Randy Cushman @ 1998-06-02 4:00 UTC (permalink / raw)
Engelhard wrote:
>
> Vivek Venugopalan wrote:
> ...
> > >I have tried partitioning using minlabel, but the installation fails
> > >with a "Device not configured" error.
> > >
> > >Suggestions?
> >
> > Randy
> > Fdisk will not work u have to use minlabel. How are you using min
>
> You could use fdisk, just type b after selecting fdisk.
> b option is an option to use BSD disk label.
>
> engel.
I tried the suggestion of going into fdisk's b option, then rewriting
the information there. This yielded the following message: "mount
failed: Device not configured" after acknowledging the location of the
log file.
Following are the last lines in my alt-f3 screen:
* running: /usr/bin/mke2fs mke2fs /tms/sda3
* removing device file /tmp/sda3
* mounting sda3 on /mnt/ as type ext2
* creating directory /mnt rc = 0
* calling mount(/tmp/sda3, /mnt/, ext2, 3236757504, (nil))
I was puzzled by the second message, but checking further I found
/tmp/sda3 was there, although /tmp/sda wasn't.
Help!
Randy C.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-02 4:00 ` Randy Cushman
@ 1998-06-02 4:00 ` Engelhard
1998-06-07 4:00 ` Randy Cushman
0 siblings, 1 reply; 12+ messages in thread
From: Engelhard @ 1998-06-02 4:00 UTC (permalink / raw)
To: Randy.Cushman
Randy Cushman wrote:
....
>
> I tried the suggestion of going into fdisk's b option, then rewriting
> the information there. This yielded the following message: "mount
> failed: Device not configured" after acknowledging the location of the
> log file.
....
You should not use the first partition. It is for aboot, the boot
loader,
if you want to boot the OS from Hard Disk.
For example, below is my hard disk partition:
FDISK display (with b option).
/dev/sda
# size offset fstype Cylinder
a: 224910 32130 swap 3 - 16
b: 257040 257040 ext2 17 - 32
c: 3598560 514080 ext2 33 - 256
As you can see, I begin the first partition from Cylinder 3 ,
and not using cylinder 0,1,2.
And then, install the aboot-0.5-2 RPM package.
And then, write the boot strapper to the Hard disk :
# /sbin/swriteboot /dev/sda /boot/bootlx /vmlinux-2.0.32.gz
Oh, you could refer to the SRM-How To , for more help:
http://www.azstarnet.com/~axplinux/srm.html
engel.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-02 4:00 ` Engelhard
@ 1998-06-07 4:00 ` Randy Cushman
0 siblings, 0 replies; 12+ messages in thread
From: Randy Cushman @ 1998-06-07 4:00 UTC (permalink / raw)
I finally got aboot installed properly on my AS 200. Thanks to all who
gave hints.
In case someone else may find this useful, here are the details:
- I deleted all standard fdisk partitions from the disk. (I'm not
certain this made a difference.)
- I stopped trying to use minlabel, and used the fdisk option b instead.
(This was my final hurdle.)
- I deleted the default partitions a: and c:, and created my own
partitions a: and b:, leaving no gaps, no partitions of type 'unused',
etc. (This was my second-to-last hurdle.)
- I used the following command to install aboot (after booting using the
kernel on the floppy and the root partition on the hard disk):
# swriteboot /dev/sda /boot/boot1x
Installing the kernel with aboot is unnecessary for my system.
(When I installed RedHat Linux, selecting "install everything", the
aboot package was installed.)
- My boot command is as follows:
>>> b dka0 -fi 2/vmlinux.gz -fl root=/dev/sda2
Of course, I've stored this information in environment variables
bootdef_dev, boot_file and boot_osflags. I actually use:
>>> b
Here is my partition information.
bytes/sector: 512
sectors/track: 62
tracks/cylinder: 67
sectors/cylinder: 4154
cylinders: 1009
2 partitions:
# size offset fstype [fsize bsize cpg]
a: 265856 4154 swap # (Cyl. 2 -
65)
b: 3921376 270010 ext2 # (Cyl. 66 -
1009)
Here my waste using the disk geometry set up by Linux/Alpha fdisk is
less than the waste on Englehard's disk, which appears to use a geometry
set up on a PC with extended bios translation. Linux fdisk will
configure using its preferred geometry if fdisk is restarted with no
partitions defined.
Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Boot From SRM
1998-06-01 4:00 ` Michal Jaegermann
@ 1998-06-10 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 0 replies; 12+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-06-10 4:00 UTC (permalink / raw)
>>>>> "MJ" == Michal Jaegermann <michal@gortel.phys.ualberta.ca> writes:
>>>>> "XF" == Xenophon Fenderson <xenophon@irtnog.org> writes:
XF> For some reason the Linux partitioning programs are
XF> incompatible with Digital UNIX and BSD (dunno why).
MJ> They are compatible if used in that way (and peeking into
MJ> documentation definitely helps with understanding).
[snip]
MJ> DU does not understand a partitioning scheme used by NT and
MJ> vice-versa.
Well, what I meant was "minlabel isn't compatible with OpenBSD's
disklabel program, for some reason". When I had OpenBSD 2.2 installed
along side of Linux, I recall having problems with BSD when I
partitioned with minlabel. Using BSD's disklabel utility cleared up
those problems. That was some time ago, so this may no longer be
accurate. Earlier speculation on using disklabel and fdisk on the
same disk was just that, speculation; it probably won't work.
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"What shall it profit a man if he should gain the world and lock his keys
in the car before he can get it home?" --Gwendoly Piper in alt.slack
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1998-06-10 4:00 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-30 4:00 Boot From SRM Randy Cushman
1998-05-31 4:00 ` Vivek Venugopalan
1998-06-01 4:00 ` Maciej W. Rozycki
1998-06-01 4:00 ` Engelhard
1998-06-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-01 4:00 ` Michal Jaegermann
1998-06-10 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-02 4:00 ` Randy Cushman
1998-06-02 4:00 ` Engelhard
1998-06-07 4:00 ` Randy Cushman
1998-06-01 4:00 ` Randy Cushman
1998-05-31 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox