Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
more help need with fdisk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
tebers
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 115
Location: Germany, Kirchheim near Munich

PostPosted: Wed Nov 13, 2002 10:43 am    Post subject: more help need with fdisk Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Wed Nov 13, 2002 1:36 pm    Post subject: An example fdisk layout Reply with quote

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
View user's profile Send private message
tebers
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 115
Location: Germany, Kirchheim near Munich

PostPosted: Wed Nov 13, 2002 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Wed Nov 13, 2002 4:19 pm    Post subject: Reply with quote

It should be, just make sure you adjust your silo.conf accordingly.
Back to top
View user's profile Send private message
tebers
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 115
Location: Germany, Kirchheim near Munich

PostPosted: Thu Nov 14, 2002 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum