View previous topic :: View next topic |
Author |
Message |
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Wed Nov 13, 2002 10:43 am Post subject: more help need with fdisk |
|
|
at work we have an sparc ultra 10.
We wanted to install gentoo, but the question is how to partitind the disk
I can get access to the -dev-hda and aprtioned them like on the intel-platform and went to the whole installation process like on the I-platform.
after reboot i get the error magic labe id missing
So i thing i have to use an sunlabel partion ?
but this partition scheme is starneg to me
like whole disk etc.
and then not having a separeat boot partion.
Any lights out there to help ?
Thorsten |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Nov 13, 2002 1:36 pm Post subject: An example fdisk layout |
|
|
Hello,
You will need a sun disklabel on the drive in question (can be created by fdisk option s (be warned using this will destroy existing paritions)). Openboot needs this label to boot the drive. As for the whole disk parition, I've had luck booting with and without it. Below I have included examples of fdisk layouts with and without the whole disk parition.
Ultra 5 without Whole Disk partition (boots just fine).
Disk /dev/hda (Sun disk label): 16 heads, 63 sectors, 17660 cylinders
Units = cylinders of 1008 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 0 17479 8809416 83 Linux native
/dev/hda2 u 17479 17660 91224 82 Linux swap
Ultra 1 with Whole Disk partition (boots just fine).
Disk /dev/sda (Sun disk label): 20 heads, 168 sectors, 5274 cylinders
Units = cylinders of 3360 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 5241 8804880 83 Linux native
/dev/sda2 u 5241 5274 55440 82 Linux swap
/dev/sda3 0 5274 8860320 5 Whole disk
Hope this helps
Last edited by Weeve on Wed Nov 13, 2002 4:33 pm; edited 1 time in total |
|
Back to top |
|
|
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Wed Nov 13, 2002 2:12 pm Post subject: |
|
|
what me confused was the point of just one partition for linux (root)
i have done before i could read the answer made a new try.
I used 'S' and deletde teh partions and have now 4 partions
hda1 -> boot
hda2 -> swap
hda3 -> whole disk
hda4 -> root
Is this ok ? |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Nov 13, 2002 4:19 pm Post subject: |
|
|
It should be, just make sure you adjust your silo.conf accordingly. |
|
Back to top |
|
|
tebers Tux's lil' helper
Joined: 24 Apr 2002 Posts: 115 Location: Germany, Kirchheim near Munich
|
Posted: Thu Nov 14, 2002 10:07 am Post subject: |
|
|
well now i have done everything again and having the rigt sun disk label i get after the boot fomr the sun and dont get a silo prompt.
I think the silo boot executables don work ?
Code: | the file just loaded does not seem to be executable. |
How should my silo look like and what could i have made wrong
I used the sparc64-sources (2.4.20-pre10).
what else should i give on infos ? |
|
Back to top |
|
|
|