[SOLVED] Re: How to boot SUN T5220?

2011-05-18 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/10/2011 12:50 PM, Flamarion Jorge wrote:
 On 05/10/2011 11:38 AM, Flamarion Jorge wrote:
 On 05/09/2011 05:42 PM, Jurij Smakov wrote:
 On Mon, May 09, 2011 at 05:19:03PM -0300, Flamarion Jorge wrote:
 [...] 
 First thanks for trying to help me.

 My problem is: I can not load the silo from the ok prompt

 When i install Debian, using guided partitioning of Debian Installer,
 and the installation finished successfully, after the first reboot I get
 the following message:

 {0} ok boot disk
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
 Bad magic number in disk label
 Can't open disk label package
 ERROR: boot-read fail


 Can't open boot device

 Try 'boot disk1'.

 Hi Jurij,

 {0} ok boot disk1
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1  File and args:
 ERROR: boot-read fail


 Can't open boot device

 {0} ok
 
 Ok, it must be something else then. Usually, when there is a problem 
 with disklabel, a standard recommendation is to zero out the first few 
 megabytes of the disks and then write a brand new disklabel to make 
 sure that everything is ok (warning: this will irrecoverably destroy 
 all data on the disks!). It goes something like this:
 
 1. Boot the installer as usual.
 2. Proceed to the point where the disks are detected and partitioner 
 is started.
 3. Press 'Back' button until you get to installer menu.
 4. Choose an option to start a shell.
 5. Run the following commands:
 
 dd if=/dev/zero of=/dev/sda bs=1M count=100
 dd if=/dev/zero of=/dev/sdb bs=1M count=100
 sync
 
 6. Exit the shell and restart the partitioner.
 7. Choose the guided partitioning, it should write a new disklabel and 
 create the partitions.
 8. Continue installation as usual.
 
 Best regards,
 --
 Jurij Smakov   ju...@wooyd.org
 Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC
 
 
 
 
 Jurij,
 
 I followed your tip, but the result was the same.
 
 Attached below the install script to follow, there may be something I
 did wrong and not noticed.
 
 If there is anything I can do, I would be grateful in hearing from you.
 
 []'s
 
 
 Hi again,
 
 This is a valid model of partitioning on SPARC?
 
 ~ # fdisk /dev/sda
 
 Command (m for help): p
 
 Disk /dev/sda (Sun disk label): 255 heads, 63 sectors, 17840 cylinders
 Units = cylinders of 16065 * 512 bytes
 
Device FlagStart   EndBlocks   Id  System
 /dev/sda1 012 963901  Boot
 /dev/sda212 17080 137098710   83  Linux native
 /dev/sda3 0 17840 1432998005  Whole disk
 /dev/sda4 17080 17840   6104700   82  Linux swap
 
 Tks,
 

Hi,

Just try make boot in a correct disk.

boot disk2

I have a pair of raid1 disks and the the installer detects sda in a disk 2.

Debian works fine in SUNT5220 after change the inittab.

Att,

- -- 
Flamarion Jorge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJN08IgAAoJEJhPZF0zwv0zZTwP/jW8Vvkx/TmIIwjbKKZGZclJ
I73zSyhUT77pnCMxxy09CDYpl2fdhionBCdu6lxA6fXuOxwjL09JSZzbk5drQKcX
+lJoqQvGpUtLQ4wNDFuj9aprzGEZm4XuGTVvVs0A/GZDenw4RCF3Ab+doFrJ3N4y
uz7dymXKoSsANFCBh/pw7X9C/bMf/EkEZNUvjZsbL7ifB1IIg/PSRyXnO0ee6ZNR
ISuqHn8SkEio0TuJzhlG9F6/XCzN58rTAOXrlbd/NId+3HSZvOKMpIXlfIBmsNmx
0axSC1iO1imfFfXXnyE5RZWoc1d3RAuF82m1mYZYNLYpFBaP+HtLYyE8cXpw4BR/
FhOZNGVpUQwWL0m9QI/Ue/U9qcXOJxeuEIpGu3w8qYH9ykuV+OuHFg467XSf7W+e
cTdavZGGF7ydiX1AamJzBr/1nuC2VtmuN5zJCDd5mvYW3g764LPd2SDoEGM+/Vny
M7WDKPdszGVEjqq61lusOKE3t+yB88WEWcINGeV1sPP2J1x3unehO3LAMAuF7b4+
3IteoG/60d7CpqLNz5wdfOPK2PvFAPRprNmURKdyio/fgU58Y0Tt9+a0VXr5IJV1
4BM2GzaArhu0ehpm5N+ioZl7gwQG4QZjLLcvA3DonFVX2GuLLhb65K3Eufwb6b+C
CzIC2ze0yZiorxEbn5mg
=geBE
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dd3c220.7050...@yahoo.com.br



Re: How to boot SUN T5220?

2011-05-10 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/10/2011 11:38 AM, Flamarion Jorge wrote:
 On 05/09/2011 05:42 PM, Jurij Smakov wrote:
 On Mon, May 09, 2011 at 05:19:03PM -0300, Flamarion Jorge wrote:
 [...] 
 First thanks for trying to help me.

 My problem is: I can not load the silo from the ok prompt

 When i install Debian, using guided partitioning of Debian Installer,
 and the installation finished successfully, after the first reboot I get
 the following message:

 {0} ok boot disk
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
 Bad magic number in disk label
 Can't open disk label package
 ERROR: boot-read fail


 Can't open boot device

 Try 'boot disk1'.

 Hi Jurij,

 {0} ok boot disk1
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1  File and args:
 ERROR: boot-read fail


 Can't open boot device

 {0} ok
 
 Ok, it must be something else then. Usually, when there is a problem 
 with disklabel, a standard recommendation is to zero out the first few 
 megabytes of the disks and then write a brand new disklabel to make 
 sure that everything is ok (warning: this will irrecoverably destroy 
 all data on the disks!). It goes something like this:
 
 1. Boot the installer as usual.
 2. Proceed to the point where the disks are detected and partitioner 
 is started.
 3. Press 'Back' button until you get to installer menu.
 4. Choose an option to start a shell.
 5. Run the following commands:
 
 dd if=/dev/zero of=/dev/sda bs=1M count=100
 dd if=/dev/zero of=/dev/sdb bs=1M count=100
 sync
 
 6. Exit the shell and restart the partitioner.
 7. Choose the guided partitioning, it should write a new disklabel and 
 create the partitions.
 8. Continue installation as usual.
 
 Best regards,
 --
 Jurij Smakov   ju...@wooyd.org
 Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC
 
 
 
 
 Jurij,
 
 I followed your tip, but the result was the same.
 
 Attached below the install script to follow, there may be something I
 did wrong and not noticed.
 
 If there is anything I can do, I would be grateful in hearing from you.
 
 []'s
 

Hi again,

This is a valid model of partitioning on SPARC?

~ # fdisk /dev/sda

Command (m for help): p

Disk /dev/sda (Sun disk label): 255 heads, 63 sectors, 17840 cylinders
Units = cylinders of 16065 * 512 bytes

   Device FlagStart   EndBlocks   Id  System
/dev/sda1 012 963901  Boot
/dev/sda212 17080 137098710   83  Linux native
/dev/sda3 0 17840 1432998005  Whole disk
/dev/sda4 17080 17840   6104700   82  Linux swap

Tks,

- -- 
Flamarion Jorge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNyV7JAAoJEJhPZF0zwv0zC28P/3apz0FR1OQBt76sBPPztJa+
dJ2iCgrrCoVRhlP9JvZGOa/WewC3V8ixsPqWPTAJPVpiQFGicrBZwHjiAmpyS2EZ
7Lo/UszvuyXOdK6g9MvXk7e81SmwqV8QLO8cdjcCU41+b2+TEY8TA3Z/WQSIJuMX
3WB35e3NKc3vYBVwZk0yJ92dmODrBcCHOAhVNUSHY7GeKTKyne6FECmehnxiecCI
dV3od/x7T0aYHx4ZDqdARakXKs0zhouEvESu9VYns8ToTn/MVgThVi3TgSg4Td5T
hNBBdvXPwZJRNmLJYp0LwsJwLPCuW0UBgdv6CzttLStx+mShTn4k6W0Ru3m8I/x4
DsANQJrn2AopcRadXeKc2Z0A31E2NwVdnqdK+/rZpAadiuEsrhLEg3m06t6l+NPT
hquETStZKnJNrZ70o1xfA9f0e9B859Zcx4/rUYWRhRT+p1aRD2EgJI+sGiMqcS0k
EHCKBb5J1xQOMJL5FdeULnSj/kCig7Sq0+wIK/nc/SxWMfpoHpk1Tc7aZWq2OImr
Uev0SLyjJuWE7vVBL88OTbtWvMhueD4d032bcuM+cd8T5hBlzzJ/viX7PLB5P0qF
6NGjItiSPt7ezCpus8LlIjtMQsHlN+Hr/D7a012F5pU7KVg/vCDgs66/NTtBDGBO
czsN31yaSoG1oJtB46FC
=zzfK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc95ec9.7030...@yahoo.com.br



Re: How to boot SUN T5220?

2011-05-09 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
 Hello all,
 
 I am the Flamarion Jorge and I'm from Brazil.
 
 I joined this list for two reasons:
 
 1 - I understand very little about the SPARC architecture, which must
 have an installed Debian and it works well.
 2 - I really want to report a successful installation for staff of the DI
 
 So here we go
 
 Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
 get a boot with Debian installed on SUN T5220.
 
 Initially I did a normal installation using a traditional partitioning
 using EXT3 and SWAP.
 
 After some reading on the Internet I saw that it was necessary to have a
 primary partition in UFS and EXT2 format, and has a partition table with
 the label SUN.
 
 Well, I tried to do this manually, without success. I tried to leave the
 DI guided partitioning, without success. I tried, tried and tried .
 I read a lot, but unfortunately I can reach the end of successful
 installation, with all the hardware detected and functional, but I can
 not boot from a ILOM.
 
 The only way I could access my Debian on SUM T5220 was through the
 rescue mode of DI.
 
 So after all this saga, I'd like a hint of you on how to make Debian
 boot properly SILO from the ILOM.
 
 This machine is at my disposal, so I can try any hint that you want to
 post so we can report a successful installation of for the DI guys and
 the staff of the SPARC port.
 
 Thank you very much
 

Hi again,

Can anyone give me a hint to help start the SILO?

[]'s

- -- 
Flamarion Jorge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNx+TIAAoJEJhPZF0zwv0zxp4QAKCQoa+a/RnExVPtvu+B4Ngk
09KHYSmmGBExIjic8WqxNhJKso8SjqaDHO0CbUAI/TiWgvMYUnE6eQozOb8V+/cq
AtVoWEMKrl0b8ZBCjPXO+WjZY5YJ8dE+n+YytJilyVwqC64vfUlc2Gtzj0CPIP8D
/cnWlztYTgJGxH324sXjA+496n2fqYYRJU9OrD/Bo6hvOyRFcTMAQoUMBewda3eB
mWgdgv09xyTHNm3adTzJ4FoBuDl9Q4OGrZIfp6dh9Ex64GS76onPW7aiIn3Eysoq
N0pGvein0/xAvGhTuufZ/lf31dniiEMDQNn9W/afaRG9umwNnqRXXGPRKSjTavKR
6hT9iLtt9YydADoSL+vKHyjTknY/irFi9dVKm7eMeQbtz3SW8iRhVx0iAHvc80KH
QNPcaspvpozrZ3woYULzrHw9ehYbtH3SgYLVDjPKpVPrUGp2AJhURoCltXnZqoev
6y/OyFFbCj+n+ZAeg7LuLVLpUs0jvglHKa2AlCrIXFHNX/lWmDnoBWKZhh6kCv8m
ZTOe7I20kix6I7IB94Ub65uBjg3eMq5y09Zw8L9Pd4SSX2zqGpy7uwC0PadEaupw
qaEXKs66xSVz8xSfPmEPebTNBWJenTVNKzaJ6n+WP5iJa8K7U0Sc22GtXzBf75gg
0LvswFkLP4Vk4AWQbohL
=c0J3
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc7e4ce.7060...@yahoo.com.br



Re: How to boot SUN T5220?

2011-05-09 Thread Ivan Jager
On Mon, May 09, 2011 at 09:57:50AM -0300, Flamarion Jorge scribbled:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
  Hello all,
  
  I am the Flamarion Jorge and I'm from Brazil.
  
  I joined this list for two reasons:
  
  1 - I understand very little about the SPARC architecture, which must
  have an installed Debian and it works well.
  2 - I really want to report a successful installation for staff of the DI
  
  So here we go
  
  Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
  get a boot with Debian installed on SUN T5220.
  
  Initially I did a normal installation using a traditional partitioning
  using EXT3 and SWAP.
  
  After some reading on the Internet I saw that it was necessary to have a
  primary partition in UFS and EXT2 format, and has a partition table with
  the label SUN.
  
  Well, I tried to do this manually, without success. I tried to leave the
  DI guided partitioning, without success. I tried, tried and tried .
  I read a lot, but unfortunately I can reach the end of successful
  installation, with all the hardware detected and functional, but I can
  not boot from a ILOM.
  
  The only way I could access my Debian on SUM T5220 was through the
  rescue mode of DI.
  
  So after all this saga, I'd like a hint of you on how to make Debian
  boot properly SILO from the ILOM.
  
  This machine is at my disposal, so I can try any hint that you want to
  post so we can report a successful installation of for the DI guys and
  the staff of the SPARC port.
  
  Thank you very much
  
 
 Hi again,
 
 Can anyone give me a hint to help start the SILO?

Yes, but sorry it's going to be rather obvious since you didn't
go into detail as to what the problem was. Go to openfirmware
(the ok prompt) and type boot disk (or whatever is needed to
boot of the disk where you installed silo). Then, (this is the
important part) observe what *does* happen. If you can't figure
out how to fix it, it would be easier to help if you actually
tell us what happened. If there is an error, you may want to copy
and paste it. If there is no output whatsoever, you would want to
say that. If it only prints S you would want to say that. It's
a bit hard to guess what went wrong if all you say is that it was
unsuccessful.

As for the SUN disklabel, you seem a bit confused about that, but
it may just be the translation from Portuguese. SUN does not use
the same partitioning scheme as the DOS partitions you are
probably used to. It's not that you need a partition with a label
of SUN, it's that you should be using a sun disklabel rather than
a DOS partition table. But if you're using the installer to
partition the disk, that shouldn't be a problem as it will do the
right thing. If you're partitioning manually and want more
details check man fdisk or
https://secure.wikimedia.org/wikipedia/en/wiki/BSD_disklabel but
I don't think that's actually the problem.

Ivan


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110509164644.gl28...@mrph.org



Re: How to boot SUN T5220?

2011-05-09 Thread Jurij Smakov
On Mon, May 09, 2011 at 09:57:50AM -0300, Flamarion Jorge wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
  Hello all,
  
  I am the Flamarion Jorge and I'm from Brazil.
  
  I joined this list for two reasons:
  
  1 - I understand very little about the SPARC architecture, which must
  have an installed Debian and it works well.
  2 - I really want to report a successful installation for staff of the DI
  
  So here we go
  
  Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
  get a boot with Debian installed on SUN T5220.
  
  Initially I did a normal installation using a traditional partitioning
  using EXT3 and SWAP.
  
  After some reading on the Internet I saw that it was necessary to have a
  primary partition in UFS and EXT2 format, and has a partition table with
  the label SUN.
  
  Well, I tried to do this manually, without success. I tried to leave the
  DI guided partitioning, without success. I tried, tried and tried .
  I read a lot, but unfortunately I can reach the end of successful
  installation, with all the hardware detected and functional, but I can
  not boot from a ILOM.
  
  The only way I could access my Debian on SUM T5220 was through the
  rescue mode of DI.
  
  So after all this saga, I'd like a hint of you on how to make Debian
  boot properly SILO from the ILOM.
  
  This machine is at my disposal, so I can try any hint that you want to
  post so we can report a successful installation of for the DI guys and
  the staff of the SPARC port.
  
  Thank you very much
  
 
 Hi again,
 
 Can anyone give me a hint to help start the SILO?

Does this help:

http://lists.debian.org/debian-sparc/2011/05/msg7.html

 []'s
 
 - -- 
 Flamarion Jorge
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQIcBAEBCAAGBQJNx+TIAAoJEJhPZF0zwv0zxp4QAKCQoa+a/RnExVPtvu+B4Ngk
 09KHYSmmGBExIjic8WqxNhJKso8SjqaDHO0CbUAI/TiWgvMYUnE6eQozOb8V+/cq
 AtVoWEMKrl0b8ZBCjPXO+WjZY5YJ8dE+n+YytJilyVwqC64vfUlc2Gtzj0CPIP8D
 /cnWlztYTgJGxH324sXjA+496n2fqYYRJU9OrD/Bo6hvOyRFcTMAQoUMBewda3eB
 mWgdgv09xyTHNm3adTzJ4FoBuDl9Q4OGrZIfp6dh9Ex64GS76onPW7aiIn3Eysoq
 N0pGvein0/xAvGhTuufZ/lf31dniiEMDQNn9W/afaRG9umwNnqRXXGPRKSjTavKR
 6hT9iLtt9YydADoSL+vKHyjTknY/irFi9dVKm7eMeQbtz3SW8iRhVx0iAHvc80KH
 QNPcaspvpozrZ3woYULzrHw9ehYbtH3SgYLVDjPKpVPrUGp2AJhURoCltXnZqoev
 6y/OyFFbCj+n+ZAeg7LuLVLpUs0jvglHKa2AlCrIXFHNX/lWmDnoBWKZhh6kCv8m
 ZTOe7I20kix6I7IB94Ub65uBjg3eMq5y09Zw8L9Pd4SSX2zqGpy7uwC0PadEaupw
 qaEXKs66xSVz8xSfPmEPebTNBWJenTVNKzaJ6n+WP5iJa8K7U0Sc22GtXzBf75gg
 0LvswFkLP4Vk4AWQbohL
 =c0J3
 -END PGP SIGNATURE-
 
 
 -- 
 To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4dc7e4ce.7060...@yahoo.com.br

-- 
Jurij Smakov   ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110509172443.ga2...@droopy.oc.cox.net



Re: How to boot SUN T5220?

2011-05-09 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/09/2011 01:46 PM, Ivan Jager wrote:
 On Mon, May 09, 2011 at 09:57:50AM -0300, Flamarion Jorge scribbled:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
 Hello all,

 I am the Flamarion Jorge and I'm from Brazil.

 I joined this list for two reasons:

 1 - I understand very little about the SPARC architecture, which must
 have an installed Debian and it works well.
 2 - I really want to report a successful installation for staff of the DI

 So here we go

 Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
 get a boot with Debian installed on SUN T5220.

 Initially I did a normal installation using a traditional partitioning
 using EXT3 and SWAP.

 After some reading on the Internet I saw that it was necessary to have a
 primary partition in UFS and EXT2 format, and has a partition table with
 the label SUN.

 Well, I tried to do this manually, without success. I tried to leave the
 DI guided partitioning, without success. I tried, tried and tried .
 I read a lot, but unfortunately I can reach the end of successful
 installation, with all the hardware detected and functional, but I can
 not boot from a ILOM.

 The only way I could access my Debian on SUM T5220 was through the
 rescue mode of DI.

 So after all this saga, I'd like a hint of you on how to make Debian
 boot properly SILO from the ILOM.

 This machine is at my disposal, so I can try any hint that you want to
 post so we can report a successful installation of for the DI guys and
 the staff of the SPARC port.

 Thank you very much


 Hi again,

 Can anyone give me a hint to help start the SILO?
 
 Yes, but sorry it's going to be rather obvious since you didn't
 go into detail as to what the problem was. Go to openfirmware
 (the ok prompt) and type boot disk (or whatever is needed to
 boot of the disk where you installed silo). Then, (this is the
 important part) observe what *does* happen. If you can't figure
 out how to fix it, it would be easier to help if you actually
 tell us what happened. If there is an error, you may want to copy
 and paste it. If there is no output whatsoever, you would want to
 say that. If it only prints S you would want to say that. It's
 a bit hard to guess what went wrong if all you say is that it was
 unsuccessful.
 
 As for the SUN disklabel, you seem a bit confused about that, but
 it may just be the translation from Portuguese. SUN does not use
 the same partitioning scheme as the DOS partitions you are
 probably used to. It's not that you need a partition with a label
 of SUN, it's that you should be using a sun disklabel rather than
 a DOS partition table. But if you're using the installer to
 partition the disk, that shouldn't be a problem as it will do the
 right thing. If you're partitioning manually and want more
 details check man fdisk or
 https://secure.wikimedia.org/wikipedia/en/wiki/BSD_disklabel but
 I don't think that's actually the problem.
 
 Ivan
 
 

First thanks for trying to help me.

My problem is: I can not load the silo from the ok prompt

When i install Debian, using guided partitioning of Debian Installer,
and the installation finished successfully, after the first reboot I get
the following message:

{0} ok boot disk
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
Bad magic number in disk label
Can't open disk label package
ERROR: boot-read fail


Can't open boot device


For the record, before I run the partitioning, I deleted the partition
table of disks with the command dd (dd if=/dev/zero of=/dev/sda
count=2 bs=512, sdb too)

On this machine I have 4 HDD, 2 SCSI drives with a pair of drives
configured with RAID 1 on each controller.

The disks are detected by the Debian Installer as sda and sdb, sda I'm
using to install the system.

I'll be grateful for any additional information you can provide me, and
I apologize for not sending the correct information in the first message.

Thank you.

- -- 
Flamarion Jorge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNyD7gAAoJEJhPZF0zwv0zYSEP/3znZDXa/rScVd9fiZcxuAS7
zECkouuKHSeG06y0MCOUgWu6iK5+rCKrpaWxkBVh52dYDM1658vQl+GYpKkIx9Yu
gIFqWY1FJN/9KspZffwlPZeDWcNr7+4YpKy7POpf0ywonGLfnjFLEwO8AOfgrJNo
1DAAuQgxmEy2Cxy4QrGq702r4xhrgwfMiOnH2M4L8XrjJ6nXZUMC+q6P7x124L9m
peIa0UtQudcsrfvvr47XkNxXWSL4viNKq/JsPmVOLnScZqvrryFL8gthUHXn/Zby
ZzxMepYGvcr3FPLaABHXk6vEEGKrdipxYG5nP6K9baPvXwJ2KupzQnLOt8WD1yZb
6T3+U4PlLE2zOShvQMOnXasU+DTSDi874qwWfRwcE+F2jI1yePD40wbyWLaapCiB
x6k4k3AawRc4os0OobN64YByHek3vG+Ei1Gv8TKO/p9gqhoMYguLil9LcFL2R/HR
ct+BuR7KhZCArant3ExXM1+qNRyGyDP2sKv4ew0jMJknkrXrrzRkDzSwvRcWkE1R
LS1QzEp7A9XTAflrQz1Rk44mxUgHwZiJzMzXpnLMOkYB+bTRWFaO66/NzI4U09q4
S3G7NxYvuTAgWyM71cuo/35ZyadG4GbG0/gD9iQDBDOVpaiJLZE6HwrsTT81y9J5
6fkH1JWcr+YIViOP+Jyz
=/c/p
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to 

Re: How to boot SUN T5220?

2011-05-09 Thread Jurij Smakov
On Mon, May 09, 2011 at 04:22:13PM -0300, Flamarion Jorge wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 05/09/2011 01:46 PM, Ivan Jager wrote:
  On Mon, May 09, 2011 at 09:57:50AM -0300, Flamarion Jorge scribbled:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA256
 
  On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
  Hello all,
 
  I am the Flamarion Jorge and I'm from Brazil.
 
  I joined this list for two reasons:
 
  1 - I understand very little about the SPARC architecture, which must
  have an installed Debian and it works well.
  2 - I really want to report a successful installation for staff of the DI
 
  So here we go
 
  Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
  get a boot with Debian installed on SUN T5220.
 
  Initially I did a normal installation using a traditional partitioning
  using EXT3 and SWAP.
 
  After some reading on the Internet I saw that it was necessary to have a
  primary partition in UFS and EXT2 format, and has a partition table with
  the label SUN.
 
  Well, I tried to do this manually, without success. I tried to leave the
  DI guided partitioning, without success. I tried, tried and tried .
  I read a lot, but unfortunately I can reach the end of successful
  installation, with all the hardware detected and functional, but I can
  not boot from a ILOM.
 
  The only way I could access my Debian on SUM T5220 was through the
  rescue mode of DI.
 
  So after all this saga, I'd like a hint of you on how to make Debian
  boot properly SILO from the ILOM.
 
  This machine is at my disposal, so I can try any hint that you want to
  post so we can report a successful installation of for the DI guys and
  the staff of the SPARC port.
 
  Thank you very much
 
 
  Hi again,
 
  Can anyone give me a hint to help start the SILO?
  
  Yes, but sorry it's going to be rather obvious since you didn't
  go into detail as to what the problem was. Go to openfirmware
  (the ok prompt) and type boot disk (or whatever is needed to
  boot of the disk where you installed silo). Then, (this is the
  important part) observe what *does* happen. If you can't figure
  out how to fix it, it would be easier to help if you actually
  tell us what happened. If there is an error, you may want to copy
  and paste it. If there is no output whatsoever, you would want to
  say that. If it only prints S you would want to say that. It's
  a bit hard to guess what went wrong if all you say is that it was
  unsuccessful.
  
  As for the SUN disklabel, you seem a bit confused about that, but
  it may just be the translation from Portuguese. SUN does not use
  the same partitioning scheme as the DOS partitions you are
  probably used to. It's not that you need a partition with a label
  of SUN, it's that you should be using a sun disklabel rather than
  a DOS partition table. But if you're using the installer to
  partition the disk, that shouldn't be a problem as it will do the
  right thing. If you're partitioning manually and want more
  details check man fdisk or
  https://secure.wikimedia.org/wikipedia/en/wiki/BSD_disklabel but
  I don't think that's actually the problem.
  
  Ivan
  
  
 
 First thanks for trying to help me.
 
 My problem is: I can not load the silo from the ok prompt
 
 When i install Debian, using guided partitioning of Debian Installer,
 and the installation finished successfully, after the first reboot I get
 the following message:
 
 {0} ok boot disk
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
 Bad magic number in disk label
 Can't open disk label package
 ERROR: boot-read fail
 
 
 Can't open boot device

Try 'boot disk1'.
 
 
 For the record, before I run the partitioning, I deleted the partition
 table of disks with the command dd (dd if=/dev/zero of=/dev/sda
 count=2 bs=512, sdb too)
 
 On this machine I have 4 HDD, 2 SCSI drives with a pair of drives
 configured with RAID 1 on each controller.
 
 The disks are detected by the Debian Installer as sda and sdb, sda I'm
 using to install the system.
 
 I'll be grateful for any additional information you can provide me, and
 I apologize for not sending the correct information in the first message.
 
 Thank you.
 
 - -- 
 Flamarion Jorge
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQIcBAEBCAAGBQJNyD7gAAoJEJhPZF0zwv0zYSEP/3znZDXa/rScVd9fiZcxuAS7
 zECkouuKHSeG06y0MCOUgWu6iK5+rCKrpaWxkBVh52dYDM1658vQl+GYpKkIx9Yu
 gIFqWY1FJN/9KspZffwlPZeDWcNr7+4YpKy7POpf0ywonGLfnjFLEwO8AOfgrJNo
 1DAAuQgxmEy2Cxy4QrGq702r4xhrgwfMiOnH2M4L8XrjJ6nXZUMC+q6P7x124L9m
 peIa0UtQudcsrfvvr47XkNxXWSL4viNKq/JsPmVOLnScZqvrryFL8gthUHXn/Zby
 ZzxMepYGvcr3FPLaABHXk6vEEGKrdipxYG5nP6K9baPvXwJ2KupzQnLOt8WD1yZb
 6T3+U4PlLE2zOShvQMOnXasU+DTSDi874qwWfRwcE+F2jI1yePD40wbyWLaapCiB
 x6k4k3AawRc4os0OobN64YByHek3vG+Ei1Gv8TKO/p9gqhoMYguLil9LcFL2R/HR
 ct+BuR7KhZCArant3ExXM1+qNRyGyDP2sKv4ew0jMJknkrXrrzRkDzSwvRcWkE1R
 

Re: How to boot SUN T5220?

2011-05-09 Thread Flamarion Jorge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/09/2011 05:04 PM, Jurij Smakov wrote:
 On Mon, May 09, 2011 at 04:22:13PM -0300, Flamarion Jorge wrote:
 On 05/09/2011 01:46 PM, Ivan Jager wrote:
 On Mon, May 09, 2011 at 09:57:50AM -0300, Flamarion Jorge scribbled:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 05/05/2011 08:56 PM, Flamarion Jorge wrote:
 Hello all,

 I am the Flamarion Jorge and I'm from Brazil.

 I joined this list for two reasons:

 1 - I understand very little about the SPARC architecture, which must
 have an installed Debian and it works well.
 2 - I really want to report a successful installation for staff of the DI

 So here we go

 Today all afternoon here in Brazil (GMT -3) I tried unsuccessfully to
 get a boot with Debian installed on SUN T5220.

 Initially I did a normal installation using a traditional partitioning
 using EXT3 and SWAP.

 After some reading on the Internet I saw that it was necessary to have a
 primary partition in UFS and EXT2 format, and has a partition table with
 the label SUN.

 Well, I tried to do this manually, without success. I tried to leave the
 DI guided partitioning, without success. I tried, tried and tried .
 I read a lot, but unfortunately I can reach the end of successful
 installation, with all the hardware detected and functional, but I can
 not boot from a ILOM.

 The only way I could access my Debian on SUM T5220 was through the
 rescue mode of DI.

 So after all this saga, I'd like a hint of you on how to make Debian
 boot properly SILO from the ILOM.

 This machine is at my disposal, so I can try any hint that you want to
 post so we can report a successful installation of for the DI guys and
 the staff of the SPARC port.

 Thank you very much


 Hi again,

 Can anyone give me a hint to help start the SILO?

 Yes, but sorry it's going to be rather obvious since you didn't
 go into detail as to what the problem was. Go to openfirmware
 (the ok prompt) and type boot disk (or whatever is needed to
 boot of the disk where you installed silo). Then, (this is the
 important part) observe what *does* happen. If you can't figure
 out how to fix it, it would be easier to help if you actually
 tell us what happened. If there is an error, you may want to copy
 and paste it. If there is no output whatsoever, you would want to
 say that. If it only prints S you would want to say that. It's
 a bit hard to guess what went wrong if all you say is that it was
 unsuccessful.

 As for the SUN disklabel, you seem a bit confused about that, but
 it may just be the translation from Portuguese. SUN does not use
 the same partitioning scheme as the DOS partitions you are
 probably used to. It's not that you need a partition with a label
 of SUN, it's that you should be using a sun disklabel rather than
 a DOS partition table. But if you're using the installer to
 partition the disk, that shouldn't be a problem as it will do the
 right thing. If you're partitioning manually and want more
 details check man fdisk or
 https://secure.wikimedia.org/wikipedia/en/wiki/BSD_disklabel but
 I don't think that's actually the problem.

 Ivan


 
 First thanks for trying to help me.
 
 My problem is: I can not load the silo from the ok prompt
 
 When i install Debian, using guided partitioning of Debian Installer,
 and the installation finished successfully, after the first reboot I get
 the following message:
 
 {0} ok boot disk
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
 Bad magic number in disk label
 Can't open disk label package
 ERROR: boot-read fail
 
 
 Can't open boot device
 
 Try 'boot disk1'.

Hi Jurij,

{0} ok boot disk1
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1  File and args:
ERROR: boot-read fail


Can't open boot device

{0} ok

Aparentemente foi instalado no disk0.

Mais alguma sugestão ?


- -- 
Flamarion Jorge
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNyEw3AAoJEJhPZF0zwv0z+xEQAJ1ykl5uXT4f9xbpm3M/WPHh
wQ8Wx6Gp0ir7XCHx9KUlR2VrN3rxNLy3THEnuB+HW7vjfIy6ynF5xbyIZSuaH2at
16usGInTToSk+rcmKiTdOR7vr38h/8X44bzg/Zwb0dioWTmSHXb8Ul4USXuFmzLH
E+gWLH9BCTnVkUG30BrXGvbSu5Ye4SAvZ8vF9x/r1usY93rUvo+KgAptbxkr01Ti
pJuGpMZfedJdImtXJnsnua0V6wPiI1CkHN7kWbqfgBZvk8CIa7smNNOHlrxnExJ2
jrIr2EOmDKd3LuW13m5kJ+30Kbl59abOf/4sIc5hxse8ItVY8Ghmqu3vH1YiGT/k
WFdga5wmpA+dxyhai3011eRoug+3vC39X0AlfGp8/7FAv4mAubYCQ+9DtDykytKm
pnAyBPfd39AT2NIVcd5dhk7AWbVSaIAbJQ8gDSp1yW4WMdbJdhI23zduCelGBb1p
MG6MsJTh0Q4HwL5a1M6NLZCG7S4Mxc5J0tBE9wBmRletfp12dRnXmYJX4i/X2pt7
ny2VXi0egnPvCfNdA202191wP2LJL56MUxMmnm+ql773XRqoE+bYng4rRz3r6YWX
uU4EHBeODg+GIOUfUlCLf2fNHREb+9XQSBP5kV4px8CbN2u+d0NPjIpqJ3qmfSd5
B+DpWyVX6eJ9tZhELYxa
=ZSLq
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dc84c37.9070...@yahoo.com.br



Re: How to boot SUN T5220?

2011-05-09 Thread Jurij Smakov
On Mon, May 09, 2011 at 05:19:03PM -0300, Flamarion Jorge wrote:
[...] 
  First thanks for trying to help me.
  
  My problem is: I can not load the silo from the ok prompt
  
  When i install Debian, using guided partitioning of Debian Installer,
  and the installation finished successfully, after the first reboot I get
  the following message:
  
  {0} ok boot disk
  Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0  File and args:
  Bad magic number in disk label
  Can't open disk label package
  ERROR: boot-read fail
  
  
  Can't open boot device
  
  Try 'boot disk1'.
 
 Hi Jurij,
 
 {0} ok boot disk1
 Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@1  File and args:
 ERROR: boot-read fail
 
 
 Can't open boot device
 
 {0} ok

Ok, it must be something else then. Usually, when there is a problem 
with disklabel, a standard recommendation is to zero out the first few 
megabytes of the disks and then write a brand new disklabel to make 
sure that everything is ok (warning: this will irrecoverably destroy 
all data on the disks!). It goes something like this:

1. Boot the installer as usual.
2. Proceed to the point where the disks are detected and partitioner 
is started.
3. Press 'Back' button until you get to installer menu.
4. Choose an option to start a shell.
5. Run the following commands:

dd if=/dev/zero of=/dev/sda bs=1M count=100
dd if=/dev/zero of=/dev/sdb bs=1M count=100
sync

6. Exit the shell and restart the partitioner.
7. Choose the guided partitioning, it should write a new disklabel and 
create the partitions.
8. Continue installation as usual.

Best regards,
--
Jurij Smakov   ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110509204215.ga5...@droopy.oc.cox.net