gentoo-mips  

Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard

Karin Willers
Fri, 07 Mar 2008 13:12:54 -0800

Hello All,

trying to erase the partition table ended in fdisk not being able
to read the disk ...

/ # dd if=/dev/zero of=/dev/sda bs=512 count=1
1+0 records in
1+0 records out
/ # fdisk /dev/sda

Unable to read /dev/sda
/ #

Any hints? What is the procedure under Linux to add a fresh hard disk
to an Octane? Browsing the WEB did not reveal anything useful.

Thanks,  Karin
-----
On Sun, 2008-03-02 at 22:00 +0200, Panagiotis Christopoulos wrote:
> On 20:34 Sun 02 Mar     , Karin Willers wrote:
> > Any comments??
> > 
> > The Gentoo documentation seems not to be in sync with the actual
> > fdisk command options ... 
> > 
> 
> If you follow the handbook as it is, you should end to something like,
> 
> Neo ~ # fdisk -l /dev/sda
> 
> Disk /dev/sda (SGI disk label): 64 heads, 32 sectors, 8682 cylinders
> Units = cylinders of 2048 * 512 bytes
> 
> ----- partitions -----
> Pt#    Device  Info     Start       End   Sectors  Id  System
>  1: /dev/sda1  boot        51       101    104448  83  Linux native
>  2: /dev/sda2  swap       102      1079   2002944  82  Linux swap
>  3: /dev/sda3            1080      1748   1370112  83  Linux native
>  4: /dev/sda4            1749      8681  14198784  83  Linux native
>  9: /dev/sda5               0        50    104448   0  SGI volhdr
> 11: /dev/sda6               0      8681  17780736   6  SGI volume
> ----- Bootinfo -----
> Bootfile: /unix
> ----- Directory Entries -----
>  0: btld3r     sector    4 size   73684
> 
> Follow exactly the instructions in
> http://www.gentoo.org/doc/en/handbook/handbook-mips.xml?part=1&chap=4 ,
> the section "Getting the SGI Volume Header to just the right size".
> After that I think that you will be fine. Use the dd command to
> delete the partition table, and start again.
> 
> Panagiotis

-- 
gentoo-mips@lists.gentoo.org mailing list