Booting a sparc10

1999-05-10 Thread Wakko Warner
I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it to
boot off the hard drive.  It always complains about no disk label.

The kernel on the cdrom is 2.2.1
The bootloader is silo.

The disk is a 1.3gb with 2 partitions.  First partition is almost the entire
disk with type 83.  the 2nd partition is about 20mb type 82.

ROM is v2.12
32mb ram


Re: Booting a sparc10

1999-05-10 Thread Anders Hammarquist
[EMAIL PROTECTED] said:
 I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
 to boot off the hard drive.  It always complains about no disk label. 

Sounds like you've make an fdisk disklabel on it, the sparc prom needs
to see a sun disklabel (known as a bsd disklabel in fdisk).

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist  | [EMAIL PROTECTED]
Physics student | Hem: +46 31 47 69 27
Chalmers University of Technology, G|teborg, Sweden | Mob: +46 707 27 86 87



Re: Booting a sparc10

1999-05-10 Thread Heikki Vatiainen
 [EMAIL PROTECTED] said:
  I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
  to boot off the hard drive.  It always complains about no disk label. 
 
 Sounds like you've make an fdisk disklabel on it, the sparc prom needs
 to see a sun disklabel (known as a bsd disklabel in fdisk).

I agree, but isn't it Sun disk label? At least that is what I
have on my SS20:

huilu:~# fdisk -l

Disk /dev/sda (Sun disk label): 14 heads, 72 sectors, 2036 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Flag   BeginStart  End   Blocks   Id  System
/dev/sda100 1400   705600   83  Linux native
/dev/sda2  u  1401 1401 144120160   83  Linux native
/dev/sda300 2036  10261445  Whole disk
/dev/sda4  u  1442 1442 2036   299376   82  Linux swap
huilu:~# grep DISKLABEL /usr/src/linux-2.2.7/.config 
# CONFIG_BSD_DISKLABEL is not set
CONFIG_SMD_DISKLABEL=y
# CONFIG_UNIXWARE_DISKLABEL is not set

CONFIG_SMD_DISKLABEL is defined as 
SMD disklabel (Sun partition tables) support in
linux/Documentation/Configure.help

 /Anders

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



Re: Booting a sparc10

1999-05-10 Thread Wakko Warner
  I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
  to boot off the hard drive.  It always complains about no disk label. 
 
 Sounds like you've make an fdisk disklabel on it, the sparc prom needs
 to see a sun disklabel (known as a bsd disklabel in fdisk).

I used the fdisk that the installer ran (looks like plain ole fdisk).  What
do I do to do this?  I have no problem erasing the entire drive and starting
over again.


Re: Booting a sparc10

1999-05-10 Thread Wakko Warner
   I have a sparc10 that I installed debian 2.1 sparc on.  I can't get it
   to boot off the hard drive.  It always complains about no disk label. 
  
  Sounds like you've make an fdisk disklabel on it, the sparc prom needs
  to see a sun disklabel (known as a bsd disklabel in fdisk).
 
 I agree, but isn't it Sun disk label? At least that is what I
 have on my SS20:
 
 huilu:~# fdisk -l
 
 Disk /dev/sda (Sun disk label): 14 heads, 72 sectors, 2036 cylinders
 Units = cylinders of 1008 * 512 bytes
 
Device Flag   BeginStart  End   Blocks   Id  System
 /dev/sda100 1400   705600   83  Linux native
 /dev/sda2  u  1401 1401 144120160   83  Linux native
 /dev/sda300 2036  10261445  Whole disk
 /dev/sda4  u  1442 1442 2036   299376   82  Linux swap

This is almost exactly what I needed, just one thing, how do I do a
disklabel with fdisk?


Re: Booting a sparc10

1999-05-10 Thread Heikki Vatiainen
  I agree, but isn't it Sun disk label? At least that is what I
  have on my SS20:
  
  huilu:~# fdisk -l
  
  Disk /dev/sda (Sun disk label): 14 heads, 72 sectors, 2036 cylinders
  Units = cylinders of 1008 * 512 bytes
  
 Device Flag   BeginStart  End   Blocks   Id  System
  /dev/sda100 1400   705600   83  Linux native
  /dev/sda2  u  1401 1401 144120160   83  Linux native
  /dev/sda300 2036  10261445  Whole disk
  /dev/sda4  u  1442 1442 2036   299376   82  Linux swap

 This is almost exactly what I needed, just one thing, how do I do a
 disklabel with fdisk?


If you are not afraid of experimenting, you could try what I did.
At one point when I was playing with installation I decided to
initialize the disk completely. I had a partial Debian installation
on it and to get a fresh start I did dd if=/dev/zero of=/dev/sda,
let it run a while, interrupted it with ^C, run sync, and then
Stop-A to get the system prom monitor prompt.

After that I did boot net to boot the rescue image over the net
and start a new installation. When it was time to create the
partitions, the disk had no label and, if I remember correctly, I
was prompted by fdisk for correct values. Since I was not sure
about them, I choose auto configure and accepted the defaults.

I just checked fdisk and looks like s command goes through the 
same dialog I am describing above. You might want to try that 
before doing the dd trick.

I also had to create the Whole disk partition by hand. I think 
Solaris does it automagically.

Maybe this helps. If it does not, I can add some disks to the box 
and make notes how it goes exactly. However, I can not do that 
over the net, so you will have to wait for tomorrow for that :)

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



about sun disk labels (was Re: Booting a sparc10)

1999-05-10 Thread Adam Di Carlo

About Sun disk labels:

 * yes, it is the 's' key in fdisk

 * yes, this is documented over and over in the Install Manual
   (http://www.debian.org/releases/slink/)

 * yes, it is required as a kernel configuration option.  Also, more
   importantly, OpenBoot can't boot on a disk w/o a Sun disk label
   (unless you've got some wacky forth code you're loading -- never
   say never)

--
.Adam Di [EMAIL PROTECTED]URL:http://www.onShore.com/