Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broken 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
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 209

PostPosted: Tue Mar 16, 2004 10:15 pm    Post subject: Broken Fdisk Reply with quote

Before I submit this as a bug, I'm looking for some feedback from other sparc runners.

On a sparc classic, fdisk cannot convert a DOS labeled disk to a sun labeled disk. I re-emerged the latest util-linux without resolving the problem. Pulling out my splack distro, and grabbing its fdisk allowed me to convert the disklabel successfully. This is probably the second time I've had this problem (and this is a different drive), so it seems to be real, but I am puzzled as to why no one has noticed (because they never change the disk table??).

PS. be sure to reboot to avoid being faked out.
_________________
Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed.
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: Tue Mar 16, 2004 10:22 pm    Post subject: Reply with quote

The correct way to do this is to dd nuke the disc header and start from scratch.
Back to top
View user's profile Send private message
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 209

PostPosted: Wed Mar 17, 2004 8:05 pm    Post subject: Reply with quote

Since when?

I've been rewriting disklabels for years. Perhaps you overlooked the part where I state that the SPLACK version of sparc fdisk works perfectly. Seems like a bug then.
_________________
Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed.
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: Wed Mar 17, 2004 8:13 pm    Post subject: Reply with quote

Sometimes directly changing disclabel works, sometimes it doesn't. Sometimes starting a car in fourth gear works, sometimes it doesn't.
Back to top
View user's profile Send private message
appetitus
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 209

PostPosted: Thu Mar 18, 2004 6:48 am    Post subject: Reply with quote

Think about it. This is FDISK, a program designed to handle EVERYTHING about partitions and disklabels (i.e. a metapartition). If fdisk fails to correctly zero the disklabel, it is a bug.

Your comment is meaningless, only this gentoo fdisk is broken, the rest of the world seems to be fine. Perhaps you'd like you add your comments to the Gentoo Install manual (if your pov is "correct").

Cars start in neutral nowdays too.....or is this an example of what your sig refers to??
_________________
Being a Gentoo user means living in a house inhabited by a family of crazed carpenters. When you wake up, the house is different. Maybe there is a new turret, or some walls have moved, or perhaps someone has removed the floor under your bed.
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