Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* even more on aboot...
@ 1999-03-30 22:02 Patrick Melo
  1999-03-30 22:31 ` Larry Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Melo @ 1999-03-30 22:02 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 2260 bytes --]

I was hoping someone could offer some advice on getting my
alphastation 200 to boot from the hard drive.  I read Richard
Tibbetts' comments back in july of 1998 but have still not been
successful at getting my machine to boot properly.  I am currently
booting off a floppy disk 'boot dva -file 5/vmlinux.gz -flags
"root=/dev/sda5"' but it just doesn't feel right.  Every time I try to
'boot dka0' I get:

block 0 of dka0.0.0.6.0 is not a valid boot block
bootstrap failure'

I already have data on my drive and am hoping to keep it :)  I am
running a pretty vanilla full install of Apollo.  Any help would be
most appreciated.

----------------------------------------------------------------------

[root@sprout /root]# swriteboot -v /dev/sda2 /boot/bootlx
Existing disk label is corrupt
Couldn't get a valid disk label, exiting

[root@sprout /root]# fdisk
Using /dev/sda as default device!

Command (m for help): p

Disk /dev/sda: 141 heads, 62 sectors, 1018 cylinders
Units = cylinders of 8742 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/sda2             2     1018  4445307    5  Extended
/dev/sda5             2      442  1927580   83  Linux native
/dev/sda6           443      883  1927580   83  Linux native
/dev/sda7           884      943   262229   83  Linux native
/dev/sda8           944     1003   262229   83  Linux native
/dev/sda9          1004     1018    65534   83  Linux native

Command (m for help): b
Warning: starting partitions at cylinder 1 will be bad for the health
of your
partition table -- start at cylinder 2 instead!


BSD disklabel command (m for help): p

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  8890614     8742    unused        0     0         # (Cyl.    2 -
1018)
  b:  3855222     8742    unused        0     0         # (Cyl.    2 -
442)
  c:  3855222  3863964    unused        0     0         # (Cyl.  443 -
883)
  d:   524520  7719186    unused        0     0         # (Cyl.  884 -
943)
  e:   524520  8243706    unused        0     0         # (Cyl.  944 -
1003)
  f:   131130  8768226    unused        0     0         # (Cyl. 1004 -
1018)

BSD disklabel command (m for help): q

----------------------------------------------------------------------



[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2760 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: even more on aboot...
  1999-03-30 22:02 even more on aboot Patrick Melo
@ 1999-03-30 22:31 ` Larry Snyder
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Snyder @ 1999-03-30 22:31 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 2466 bytes --]

Patrick Melo <patrick@qantel.com> wrote:
> I was hoping someone could offer some advice on getting my
> alphastation 200 to boot from the hard drive.  I read Richard
> Tibbetts' comments back in july of 1998 but have still not been
> successful at getting my machine to boot properly.  I am currently
> booting off a floppy disk 'boot dva -file 5/vmlinux.gz -flags
> "root=/dev/sda5"' but it just doesn't feel right.  Every time I try to
> 'boot dka0' I get:
> 
> block 0 of dka0.0.0.6.0 is not a valid boot block
> bootstrap failure'
> 
> I already have data on my drive and am hoping to keep it :)  I am
> running a pretty vanilla full install of Apollo.  Any help would be
> most appreciated.
> 
> ----------------------------------------------------------------------
> 
> [root@sprout /root]# swriteboot -v /dev/sda2 /boot/bootlx

Shouldn't it be just /dev/sda?

> Existing disk label is corrupt
> Couldn't get a valid disk label, exiting
> 
> [root@sprout /root]# fdisk
> Using /dev/sda as default device!
> 
> Command (m for help): p
> 
> Disk /dev/sda: 141 heads, 62 sectors, 1018 cylinders
> Units = cylinders of 8742 * 512 bytes
> 
>    Device Boot    Start      End   Blocks   Id  System
> /dev/sda2             2     1018  4445307    5  Extended
> /dev/sda5             2      442  1927580   83  Linux native
> /dev/sda6           443      883  1927580   83  Linux native
> /dev/sda7           884      943   262229   83  Linux native
> /dev/sda8           944     1003   262229   83  Linux native
> /dev/sda9          1004     1018    65534   83  Linux native
> 
> Command (m for help): b
> Warning: starting partitions at cylinder 1 will be bad for the health
> of your
> partition table -- start at cylinder 2 instead!
> 
> 
> BSD disklabel command (m for help): p
> 
> 6 partitions:
> #        size   offset    fstype   [fsize bsize   cpg]
>   a:  8890614     8742    unused        0     0         # (Cyl.    2 -
> 1018)
>   b:  3855222     8742    unused        0     0         # (Cyl.    2 -
> 442)
>   c:  3855222  3863964    unused        0     0         # (Cyl.  443 -
> 883)
>   d:   524520  7719186    unused        0     0         # (Cyl.  884 -
> 943)
>   e:   524520  8243706    unused        0     0         # (Cyl.  944 -
> 1003)
>   f:   131130  8768226    unused        0     0         # (Cyl. 1004 -
> 1018)
> 
> BSD disklabel command (m for help): q
> 
> ----------------------------------------------------------------------
> 
> 
> 

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2760 bytes --]

[-- Attachment #3: Type: text/plain, Size: 6 bytes --]

> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: even more on aboot...
       [not found] <001101bde1d3$6a7d7d80$90dae4d0@huxley.qantel.com>
@ 1999-03-30 23:17 ` Patrick Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Melo @ 1999-03-30 23:17 UTC (permalink / raw)
  To: axp-list

Well it looks like I managed to really mess up my server.  I noticed
that I hadn't defined the partition types.  When I went back in and
corrected them I was able to swriteboot.  When I went back in and
checked the pc style partitions I noticed they had been wiped out but
following some documentation i had read I ignored this and rebooted
the machine.  Now it is unable to identify partition 5 which is where
vmlinux.gz is.  Anyone have any ideas?  They would REALLY be
appreciated right about now.

BTW sorry about the RTF posting from last time.

BTW Larry:  Yeah I don't know why i accidentally typed sda2, I hope I
didn't do it every time I tried running swriteboot.  I had attempted
it several times (over several days) and you're right that should have
been 'sda'.  This last time I did it I actually used sda.  I dont know
it was the correction of the the 'sda' or the identification of the
partitions that finally got it to work.  I might very well have been
reading sda but typing sda2 the whole time.  I think I may have had
multiple problems going on in that last output.

[root@sprout /root]# fdisk
Using /dev/sda as default device!

Command (m for help): p

Disk /dev/sda: 141 heads, 62 sectors, 1018 cylinders
Units = cylinders of 8742 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/sda2             2     1018  4445307    5  Extended
/dev/sda5             2      442  1927580   83  Linux native
/dev/sda6           443      883  1927580   83  Linux native
/dev/sda7           884      943   262229   83  Linux native
/dev/sda8           944     1003   262229   83  Linux native
/dev/sda9          1004     1018    65534   82  Linux swap

Command (m for help): b
Warning: starting partitions at cylinder 1 will be bad for the health
of your
partition table -- start at cylinder 2 instead!


BSD disklabel command (m for help): p

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  8890614     8742      ext2                        # (Cyl.    2 -
1018)
  b:  3855222     8742      ext2                        # (Cyl.    2 -
442)
  c:  3855222  3863964      ext2                        # (Cyl.  443 -
883)
  d:   524520  7719186      ext2                        # (Cyl.  884 -
943)
  e:   524520  8243706      ext2                        # (Cyl.  944 -
1003)
  f:   131130  8768226      swap                        # (Cyl. 1004 -
1018)

BSD disklabel command (m for help): q

[root@sprout /root]# swriteboot -v /dev/sda /boot/bootlx
bootsize:171 sectors
bootsect:2
done!

[root@sprout /root]# fdisk
Using /dev/sda as default device!
Device contains neither a valid DOS partition table, nor Sun disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


Command (m for help): p

Disk /dev/sda: 141 heads, 62 sectors, 1018 cylinders
Units = cylinders of 8742 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System

Command (m for help): b
Warning: starting partitions at cylinder 1 will be bad for the health
of your
partition table -- start at cylinder 2 instead!


BSD disklabel command (m for help): p

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  8890614     8742      ext2                        # (Cyl.    2 -
1018)
  b:  3855222     8742      ext2                        # (Cyl.    2 -
442)
  c:  3855222  3863964      ext2                        # (Cyl.  443 -
883)
  d:   524520  7719186      ext2                        # (Cyl.  884 -
943)
  e:   524520  8243706      ext2                        # (Cyl.  944 -
1003)
  f:   131130  8768226      swap                        # (Cyl. 1004 -
1018)

BSD disklabel command (m for help): q


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-30 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-30 22:02 even more on aboot Patrick Melo
1999-03-30 22:31 ` Larry Snyder
     [not found] <001101bde1d3$6a7d7d80$90dae4d0@huxley.qantel.com>
1999-03-30 23:17 ` Patrick Melo

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