If you have the /sys filesystem mounted, you're in good shape. Look in /sys/block/sda/sda*/start. These give you your starting block numbers for the each partition... the one the kernel knows about since the last reboot.
When fdisk asks for a number, it's usually a cylinder number, not a block number. To convert block numbers to cylinder numbers, divide by (63*255) -- in your case -- then add one. So I get:
The starting cylinder numbers are as follows:
The ending cylinder numbers should normally be the next starting minus one.
The partition may still work if it ends up larger in the partition table than it was before. This new space will not be available inside it without reformatting but that won't stop it from working for some kinds of partitions. Smaller, of course, would be a big problem...
In my ignorance I deleted the known_hosts file on private server. I am not sure what the file type is supposed to be. In general, I have been having problems with ssh and passwords. For some reason, despite having generated a private/public key pair and successfully saving the .pub file onto the... (2 Replies)
Hi Folks,
Looking for some assistance here on a Dell server connected to a Dell tape robot with Redhat 5.4 and Netbackup 6.5.
Netbackup thinks the tapes are all present and working, but they are not - we lost the internal encryption keys earlier but think that they are reinstated as the... (0 Replies)
Hello everbody
I changed one of my important files with a false sed statement by mistake now I lost my file and I hope I could bring it back
what I did was:
sed '/^..//' a > myfile
myfile should have been another file like b ot something I know I also forgot to place an 's' to the... (5 Replies)
:confused:
when i tried to look the status of DNS-client, it is in maintenance mode.....
Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE...
:wall: (2 Replies)
Hi,
I have got 2 hdds (2x Seagate 7200.12, 500GB).
I had two RAID volumes on them:
1: 100GB RAID0 (strip)
2: ~415GB RAID1 (mirror)
due to problems with matrix I removed RAID0 and RAID1 - i thougth that all data from RAID1 would be available.
Unfortunately it is not.
On 1 disk I set... (7 Replies)
Hi all,
I have a problem, when I use script with 'expect', accidentally I was deleted root account by "userdel root". Unfortunately, it works, because no other root user login on it. Solaris document said that root cannot delete root, but in my case it works because it deleted by script, not... (7 Replies)
Hi,
Can any one tell me how to restore back the deleted file in unix?
I know the file name.
If i know the inode number of the file does help more to restore back the file? (1 Reply)
Dear People
I have removed some of my files and directories( by using rm and rmdir commands) by mistake. I wish to bring them back. How is it possible?( I am using solaris 2.6)
best regards
Reza Nazarian:( (2 Replies)