Need help: fdisk / 1+G scsi HD / dos trashes adjacent partition

Need help: fdisk / 1+G scsi HD / dos trashes adjacent partition

Post by Charles Dee Ri » Wed, 21 Dec 1994 04:36:14



Okay, here's the deal...

I have a Fugitsu 1G (1080MB?) scsi drive and an Adaptech 1542CF.  I have
translation for drives with >1024 cylinders turned OFF.  I have used fdisk
to do the following...

Command (m for help): p

Disk /dev/sda: 64 heads, 32 sectors, 1033 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot  Begin   Start     End  Blocks   Id  System
/dev/sda1           1       1     334  342000    6  DOS 16-bit >=32M
/dev/sda2         335     335     668  342016   83  Linux native
/dev/sda3   *     669     669     699   31744   83  Linux native
/dev/sda4         700     700    1033  342016    5  Extended
Partition 4 has different physical/logical endings:
     phys=(1023, 63, 32) logical=(1032, 63, 32)
/dev/sda5         700     700     836  140272   83  Linux native
/dev/sda6         837     837     900   65520   82  Linux swap
/dev/sda7         901     901     998  100336   83  Linux native
/dev/sda8         999     999    1033   35824   83  Linux native

Command (m for help): v
Partition 8: previous sectors 2115583 disagrees with total 2097151
155 unallocated sectors

I'm booting from /dev/sda3, which has lilo installed on the boot block
(that is my /).

Question and problem...

Question: What are the two errors/warnings for; should I be concerned?

Problem:  The dos partition /dev/sda1 is trashing /dev/sda2.  After
formatting and using Norton Speed Disk to defrag the drive, and clear
the free space, the /dev/sda2 is trashed -- linux can't even determine
what file system is present...

So, how can I fix this, and should I be concerned of the same things
happening with the other partittions?

For kicks, here is what I use the other partitions for...

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda3              30735    3851    25297     13%   /
/dev/sda8              34683    2749    30143      8%   /var
/dev/sda5             135807   91600    37194     71%   /usr
/dev/sda7              97137   51906    40215     56%   /home
/dev/sda1             347952  154304   193648     44%   /c

and usually (before trashing)...  :)
/dev/sda2             350xxx  xxxxxx   xxxxxx      x%   /u

If you don't mind, I'd appreciate email replies -- I'm not sure how
much news I'll be able to keep caught up on while I work this out...  :)

--
 Charles Dee Rice           | "I awoke in a fever


                            |  And it's not over yet..."

 
 
 

1. DOS FDISK trashed my partition table, can I save my Linux on /dev/hda3

I just ran FDISK from DOS 5.0 to check my partition table.  I asked it to
display my current table and it displayed nothing.  I was a bit perplexed so
I exited FDISK and rebooted to load up Linux.  Linux would not come up.  The
reboot came back with a boot sector error.  

I rebooted with the Linux A1.3 floppy and it said that the partition table was
bad.  

Before I do anything else can someone guide me so I can save my Linux partition.I have spent days with this thing and to lose it would,  well...

Using DOS 5.0
Linux 99PL11

Any assistance would be greatly appreciated.

Adam
--

Carp Systems International                    Voice: (613) 592-5780
600 Terry Fox Drive, Suite 200                  Fax: (613) 592-0584
Kanata, Ontario, Canada     K2L 4B6

2. Help: SCSI autodetect fails for kernel 1.3.18 !!

3. Problems with number of heads from DOS FDISK partitions and Linux fdisk on 8.4 GB drive

4. C++ and large files

5. Win95 FDISK not finding DOS partition on SCSI Linux drive

6. Sharing /dev/modem over ethermet to other OSs. How?

7. help needed on SCSI HD partitioning for linux

8. how to get rid of comments ?

9. Large HD fdisk tells me partition 2 overlaps partition 3

10. HELP: Linux partition trashed by DOS virus!

11. Help: Accidentally trashed dos partition as root

12. Uninstall Linux: Deleted "non dos partition" with DOS fdisk -- Now what?!?

13. Solaris x86; Need help trying to mount DOS SCSI disk/partition