Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to Erase SunOS Partition?
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
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Sat Jun 12, 2004 12:49 pm    Post subject: How to Erase SunOS Partition? Reply with quote

Hi All,

I have just installed Gentoo onto my Ultra1/Netra J machine, but am unable to erase one of the disk partitions.

Looking at the table of /dev/sda it lists:

Code:

Disk /dev/sda (Sun disk label): 19 heads, 80 sectors, 2731 cylinders
Units = cylinders of 1520 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda8           690      2731   1551160    8  SunOS home


But I can't seem to delete it!


Code:


Command (m for help): d
Selected partition 4


When I look at the partition table again its still there! Any advice as how I can delete it, as the machine needs more hard disk space to be able to breathe!

Many thanks.
_________________
--[ UltraSPARC ]--
Accept no imitations
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Sat Jun 12, 2004 7:55 pm    Post subject: Reply with quote

dd nuke the drive.

dd if=/dev/zero of=/dev/sd? bs=1M count=1

WARNING: This will make all data currently on your drive unusable. Unless you know how to restore partition tables, anyway :P

[edit]/dev/sd?, not /dev/sd??. oops...[/edit]
Back to top
View user's profile Send private message
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Sun Jun 13, 2004 4:11 pm    Post subject: Reply with quote

I'll give that a go thanks!
_________________
--[ UltraSPARC ]--
Accept no imitations
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