Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with disclabel, ss20
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
AndreR
n00b
n00b


Joined: 28 Apr 2004
Posts: 14
Location: Portugal

PostPosted: Mon Jul 12, 2004 1:40 pm    Post subject: Problems with disclabel, ss20 Reply with quote

Hello everyone,

This is my situation: before a gentoo install, a 2gb harddisk was ok, it came with disklabel and some solaris partitions, I believe. I did a gentoo installation from netboot, creating my own set of partitions, and it went fine. I did the first reboot, and the hard drive refused to boot, claiming 'Bad magic number'. So, I booted via netboot again and tried to fdisk. fdisk immediatly says that the disk does not have a valid sun disklabel. Then, I've read the disklabel info from an equal disk I have, that is working ok, and supplied that information to fdisk.

What is weird now is that, when I hit 'p' to see the partition table, I can still see the partition scheme I had during the installation. But I am unable to write the disklabel to the disk, fdisk exits with these errors:

Quote:
Expert command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
SCSI device sda: 4194995 512-byte hdwr sectors (2148 MB)
/dev/scsi/host0/bus0/target3/lun0: unknown partition table
SCSI device sda: 4194995 512-byte hdwr sectors (2148 MB)
/dev/scsi/host0/bus0/target3/lun0: unknown partition table
Syncing disks.


And when I fdisk again, it still says I have no sun disklabel...

So, although the list of partitions seems ok, I am unable to retrieve anything from them. And I would really like to save the 7-day compilation effort :? .

Any help is welcome.

Thanks,
Andre
Back to top
View user's profile Send private message
AndreR
n00b
n00b


Joined: 28 Apr 2004
Posts: 14
Location: Portugal

PostPosted: Mon Jul 12, 2004 1:51 pm    Post subject: Reply with quote

It seems to be fixed, although I did nothing but re-attempt the fdisk :?

All partitions are now corrupt, though.

How strange.
Andre
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