Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Larry Creech <lcreech@lonestar.rcclub.org>
To: axp-list@redhat.com
Subject: RE: SRM/aboot vs. Avanti AS-200
Date: Mon, 3 Aug 1998 19:15:41 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.3.91.980803191100.14557A-100000@LoneStar.rcclub.org> (raw)
In-Reply-To: <618FD3AF120DD111A27900805F19D9C402AC013B@xch-blv-03.ca.boeing.com>

Oh yes, /dev/sda2 is my root partition not /dev/sda1. /dev/sda1 in 
previous tries would get blown away with swrite, so I moved it to a safer 
place. I got tired of blown partitions trying to figure out BSD disk 
labels with fdisk. The most painful part was the core dumps, fixed that 
by computing by hand all the drive parms and entering them in the BSD 
section of fdisk, it did not pick them up automatically.

On Mon, 3 Aug 1998, Tibbetts, Richard wrote:

> Hmmm....
> 	I'm happy that worked, but I'm a bit confused. I think something
> is amiss...
> If I'm reading what you did correctly, you've partitioned your drive
> thusly:
> 
> > /dev/sda1            3        3        4     8308   83  Linux native
> > /dev/sda2            5        5      989  4091690   83  Linux native
> > /dev/sda3          990      990     1019   124620   82  Linux swap
> > 
> 	If I'm reading this right, you've only left a 4 MB partition for
> your root filesystem! that won't work. It' needs to be at least 32mb!
> OR... You're using /dev/sda2 as one large partition (not breaking it up)
> (tsk tsk... bad form, it'll bite you later). If the later is the case,
> then you don't need /dev/sda1. It'll only cause confusion. If I can make
> a strong recommendation, set your disk up like the following:
> 
> 	/dev/sda1	swap		128mb
> 	/dev/sda2	/		32mb
> 	/dev/sda3	/usr 		650mb
> 	/dev/sda4	(will be the extended partition on the PC side,
> and a BSD partition covering the entire disk starting from cylinder 2).
> 	/dev/sda5	/var		64mb
> 	/dev/sda6	/home		500mb (variable depending on
> size of userbase)
> 	/dev/sda7	/usr/local	Half of remaining
> 	/dev/sda8	/opt (or /usr/src depending on intended use) --
> Remaining disk.
> 
> 	The last three partitions can vary in size depending on personal
> taste, and the intended use. Just be sure to start your first partition
> on the second cylinder.
> 	Load the OS, and duplicate the partitions in BSD Disklabels.
> 	Then run /sbin/swriteboot -v /boot/bootlx /dev/sda (check the
> syntax, I always get it backward).
> 
> 	You should now have a bootable drive, with your kernel in / on
> /dev/sda2 (per the above table).
> 	That should work. (the aboot.conf is optional, I've been looking
> at doing one, but had no real motivation yet...).
> 	This would boot from the SRM as:
> 
> 	>>b dka0 -fi 2/<kernel.name> -fl "root=/dev/sda2"
> 
> 	I can't imaging "formatting" the blank space at the head of the
> disk. I think what you did was "format" the /dev/sda1 partition, and
> dropped your kernel in there. This is a bad thing.  It's now going to
> act as your root partition, and it's wayyyyy to small. Do yourself a
> huge favor, and re-do it. It's a pain I know, but it's far easier now,
> than it will be after you're running software, and it keeps falling down
> on you.
> 
> 	I'm going off to check my notes on setting up the boot-time
> defaults. I'm not sure if I have them here, or at home (my Alpha is at
> home, not here at the office, so I can't quite run off and check it.
> I'll get back to you shortly on this.
> 
> 
> > 	______________________________
> > 	Ric Tibbetts
> > 	Boeing SSG Distributed CATIA
> > 	Central Administration G-4722
> > 	CAS-CADE Central Administration
> > 	Phone: 425/393-4442    Pager: 425/645-2012
> > 	E-Mail:    richard.tibbetts@boeing.com
> > 
> > 	"Very Funny Scotty... Now  beam down my clothes!"
> > 	______________________________
> > 
> > 
> > ----------
> > From: 	Larry Creech[SMTP:lcreech@lonestar.rcclub.org]
> > Reply To: 	axp-list@redhat.com
> > Sent: 	Monday, August 03, 1998 3:35 PM
> > To: 	Tibbetts, Richard
> > Subject: 	RE: SRM/aboot vs. Avanti AS-200
> > 
> > That did it!! In addition I had to format the 1st partition (~4meg)
> > and 
> > put a vmlinux.gz and an etc/aboot.conf to get it to work. At the SRM 
> > prompt type:
> > 
> > 	boot dka0 -fi 1/cmlinux.gz
> > 
> > I tried 2/vmlinux.gz but it didn't work.
> > 
> > Thanks a million,
> > Larry Creech  
> > 
> > On Mon, 3 Aug 1998, Tibbetts, Richard wrote:
> > 
> > > Larry;
> > > 	Whew, I can identify with you on this one. I went round & round
> > > with it on mine several times (Once I got it loaded, I re-did it a
> > > couple of times just be sure I knew how should I ever need to do it
> > > again!)...
> > > 	So.. what do you do...?
> > > 	Here's how I did it:
> > > 
> > > 	First run through the load as normal. Go ahead and partition the
> > > disk using the PC Style partitions (normal fdisk) leaving the first
> > meg
> > > or so empty (just start the first partition on cylinder 2). After
> > the
> > > load is finished, and you can log in (booting from the CD or a boot
> > > floppy using the SRM.
> > > 
> > > 	Once it's up & running, log in as root, and take a look around,
> > > and be sure all looks ok.
> > > 	Now, start fdisk, and set up the BSD style disklabels, making
> > > sure that all of the start-end points for each partition match the
> > PC
> > > style partitions exactly.
> > > 	Now run swriteboot -v ....etc....., and watch for errors.
> > > Correct any that come along.
> > > 	After this is complete, a look at fdisk will show that your old
> > > partition table is toasted. This is normal. Note also, that despite
> > that
> > > blown partition table, you're still running! ":)  This is because
> > the
> > > filesystems "shifted" over to the BSD partitions.
> > > 	You should now be able to boot.
> > > 	An additional tip: I've set the defaults up on mine so that at
> > > the SRM prompt, I only type b to boot.
> > > 	I hope this gets you through it. It can be frustrating at it's
> > > best!
> > > 
> > > > 	______________________________
> > > > 	Ric Tibbetts
> > > > 	Boeing SSG Distributed CATIA
> > > > 	Central Administration G-4722
> > > > 	CAS-CADE Central Administration
> > > > 	Phone: 425/393-4442    Pager: 425/645-2012
> > > > 	E-Mail:    richard.tibbetts@boeing.com
> > > > 
> > > > 	"Very Funny Scotty... Now  beam down my clothes!"
> > > > 	______________________________
> > > > 
> > > > 
> > > > ----------
> > > > From: 	Larry Creech[SMTP:lcreech@lonestar.rcclub.org]
> > > > Reply To: 	axp-list@redhat.com
> > > > Sent: 	Monday, August 03, 1998 1:45 PM
> > > > To: 	axp-list@redhat.com
> > > > Subject: 	SRM/aboot vs. Avanti AS-200
> > > > 
> > > > 
> > > > Still no luck.. I've tried the BSD disk label in fdisk. Left 4meg
> > of 
> > > > space free in the beginning of the drive. This is what happens:
> > > > 
> > > > swriteboot /dev/sda bootlx writes a boot sector and doesn't
> > complain.
> > > > If I reboot aboot can't find the 2nd partition, neither can the
> > boot 
> > > > floppy. I then have to load the ramdisk to re-run fdisk. I find
> > that
> > > > the 
> > > > last partition (my swap is gone), but all the BSD lables are
> > intact.
> > > > If I 
> > > > partition the drive only using BSD labels the kernel doesn't see
> > any 
> > > > partitions. If I restore the partition information, I can reboot
> > off 
> > > > floppy without a complete re-install, but aboot is then gone. Here
> > are
> > > > my 
> > > > partitions:
> > > > 
> > > > Command (m for help): p
> > > > 
> > > > Disk /dev/sda: 134 heads, 62 sectors, 1019 cylinders
> > > > Units = cylinders of 8308 * 512 bytes
> > > > 
> > > >    Device Boot   Begin    Start      End   Blocks   Id  System
> > > > /dev/sda1            3        3        4     8308   83  Linux
> > native
> > > > /dev/sda2            5        5      989  4091690   83  Linux
> > native
> > > > /dev/sda3          990      990     1019   124620   82  Linux swap
> > > > 
> > > > Command (m for help): b
> > > > 
> > > > BSD disklabel command (m for help): p
> > > > 
> > > > 3 partitions:
> > > > #        size   offset    fstype   [fsize bsize   cpg]
> > > >   a:    16616    16616      ext2                        # (Cyl.
> > 3 -
> > > > 4)
> > > >   b:  8183380    33232      ext2                        # (Cyl.
> > 5 -
> > > > 
> > > > 989)
> > > >   c:   257548  8216612      swap                        # (Cyl.
> > 990 -
> > > > 
> > > > 1020)
> > > > 
> > > > BSD disklabel command (m for help): 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Sun, 2 Aug 1998, Brian E.W. Wood wrote:
> > > > 
> > > > > 
> > > > > On 02-Aug-98 Larry Creech wrote:
> > > > > > I'm currently using the stock 2.0.34 kernel aboot disk from
> > > > redhat. I've 
> > > > > > not been able to get both my ethernet and scsi working at the
> > same
> > > > time 
> > > > > > with 2.0.35, I also noticed that the crystal sound chip used
> > in
> > > > the AS200 
> > > > > > was not on the list of supported devices in the OSS sound
> > system.
> > > > The 
> > > > > > system I have at work, though I paid for it with my own money,
> > so
> > > > I 
> > > > > > haven't been able to try some of the adive I've gotten today,
> > > > which has 
> > > > > > been excellent! I'll know first thing monday morning, I'd know
> > > > sooner if 
> > > > > > I could get it ro reboot and load unattended, but I'm not
> > there
> > > > yet. 
> > > > > > Still booting from floppy :(
> > > > > 
> > > > > Ahhh... The "clean reboot using SRM" problem, which my friend
> > with
> > > > the AS-200
> > > > > still has.
> > > > > 
> > > > > Any progress on this issue?
> > > > > 
> > > > > ---
> > > > > Brian E.W. Wood  beww@intac.com
> > > > > 
> > > > > -- 
> > > > > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > > > > 'unsubscribe' as the subject.  Do not send it to
> > axp-list@redhat.com
> > > > > 
> > > > 
> > > > -- 
> > > > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > > > 'unsubscribe' as the subject.  Do not send it to
> > axp-list@redhat.com
> > > > 
> > > 
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


  parent reply	other threads:[~1998-08-04  0:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-03 23:16 SRM/aboot vs. Avanti AS-200 Tibbetts, Richard
1998-08-03 23:44 ` Larry Creech
1998-08-04  0:15 ` Larry Creech [this message]
     [not found] <618FD3AF120DD111A27900805F19D9C402AC0139@xch-blv-03.ca.boeing.com>
1998-08-03 22:35 ` Larry Creech
  -- strict thread matches above, loose matches on Subject: below --
1998-08-03 20:45 Larry Creech
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox