[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axp-redhat
Subject:    Re: even more on aboot...
From:       Patrick Melo <patrick () qantel ! com>
Date:       1999-03-30 23:17:31
[Download RAW message or body]

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

-- 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic