Still probelms to boot from SD

1999-12-08 Thread Manfred Plagmann




Hi,
I still can't get my Sparc IPX booting Linux 
from the HD. 

I have received some answers to this problem 
which gave me a better insight. As I understand the HD has to have a partition 
which spans the whole drive. I intent to have one Linux and one swap partition. 
I therefore set the partition table up to have one 83 (Linux native) and one 82 
(Linux swap) the third partition should now span the whole disk and should 
have the type WHOLE DISK. But I don't see this type listed in fdisk. Someone 
wrote to use type 5 which is EXTENDED but this somehow didn't do it. 


Any help is appreciated.

Manfred



Re: Still probelms to boot from SD

1999-12-08 Thread ferret


On Wed, 8 Dec 1999, Manfred Plagmann wrote:

 Hi,
 I still can't get my Sparc IPX booting Linux from the HD. 
 
 I have received some answers to this problem which gave me a better
 insight. As I understand the HD has to have a partition which spans the
 whole drive. I intent to have one Linux and one swap partition. I
 therefore set the partition table up to have one 83 (Linux native) and
 one 82 (Linux swap) the third partition should now span the whole disk
 and should have the type WHOLE DISK. But I don't see this type listed in
 fdisk. Someone wrote to use type 5 which is EXTENDED but this somehow
 didn't do it.
[Nifty: line-justify in pine 3.96 auto-quotes a quoted line]
 
 Any help is appreciated.
 
 Manfred

Here's the partitioning on my IPX's HD (The OEM hard drive AFAICT)

nasal:~# fdisk -l /dev/sda

Disk /dev/sda (Sun disk label): 9 heads, 80 sectors, 1151 cylinders
Units = cylinders of 720 * 512 bytes

   Device FlagStart   EndBlocks   Id  System
/dev/sda1 0  1100396000   83  Linux native
/dev/sda2  u   1100  1151 18360   82  Linux swap
/dev/sda3 0  11514143600  Empty

BTW, mine had a non-booting Solaris install on it when I got it, and I
just wiped the Solaris partition and installed Linux instead. /dev/sda3
was there from Solaris AFAICT.

-- Ferret no baka



Re: Still probelms to boot from SD

1999-12-08 Thread Eric Delaunay
Manfred Plagmann wrote:
 Hi,
 I still can't get my Sparc IPX booting Linux from the HD. 
 
 I have received some answers to this problem which gave me a better insight.
 As I understand the HD has to have a partition which spans the whole drive. I
 intent to have one Linux and one swap partition. I therefore set the
 partition table up to have one 83 (Linux native) and one 82 (Linux swap) the
 third partition  should now span the whole disk and should have the type
 WHOLE DISK. But I don't see this type listed in fdisk. Someone wrote to use
 type 5 which is EXTENDED but this somehow didn't do it. 
 
 Any help is appreciated.
 
 Manfred

Are you sure you are using a Sun disklabel, not MSDOS partition table ?
If your disk comes from a PC box, try the 's' option in fdisk.  It will build
a new sun disklabel with one swap and one ext2fs partition (and the whole disk
partition as number 3).
Note that the Sun disklabel is required by OpenPROM (the boot monitor) to boot
from HD.

My fdisk reports the following tags for partitions types:

# fdisk /dev/sda

Command (m for help): l

 0  Empty3  SunOS swap   6  SunOS stand 82  Linux swap 
 1  Boot 4  SunOS usr7  SunOS var   83  Linux native   
 2  SunOS root   5  Whole disk   8  SunOS home

Command (m for help): p

Disk /dev/sda (Sun disk label): 17 heads, 80 sectors, 1965 cylinders
Units = cylinders of 1360 * 512 bytes

   Device FlagStart  End   Blocks   Id  System
/dev/sda1 0  752   511360   83  Linux native
/dev/sda2  u752  84865280   82  Linux swap
/dev/sda3 0 1965  13362005  Whole disk
/dev/sda4   848 1965   759560   83  Linux native

Regards.

-- 
 Eric Delaunay | La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant. Henri Jeanson (1900-1970)