[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partition problems

Sorry, I am still learning, so not very good at
explaining things.

/dev/hda1 is winxp
I now know that /dev/hda2 is the extended partition
Then comes Debian:
/dev/hda5 is swap
/dev/hda7 is /home (ext3)
/dev/hda6 is / (and everything else) (ext3)
There are no other unused partitons or unpartitioned

Grub boots from MBR into either Debian
(hda6,(hda7,hda5)) or winxp (not very often) without
any problems - appears to be fully functional.
My other Debian system is on /dev/hdb1.
>From there, or from a knoppix livecd, I can mount
/dev/hda7 but /dev/hda6 will not mount (sorry I can't
remember the error message and I am not at home right
now to reproduce it).

The reason for mounting these partitions is to backup
stuff from /etc, /usr, /var, etc, in case of problems!
After failing to mount I ran fdisk to check for more
information and discovered that:

'Partition 2 does not end on cylinder boundary.'

Would mkfs destroy the data on the partition?


david cuthbertson wrote:
> Hi,
> Mounting /dev/hda2 or /dev/hda6 to backup my
> hard-drive fails. /dev/hda7 mounts OK.
> Running fdisk I get:
> Command (m for help): p
> Disk /dev/hda: 20.4 GB, 20490559488 bytes
> 16 heads, 63 sectors/track, 39703 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
>    Device Boot      Start         End      Blocks  
>  System
> /dev/hda1               1       13564     6836224+  
> /dev/hda2           13579       39701    13165267+  

Note carefully where /dev/hda2 starts and ends.

>  Extended
> Partition 2 does not end on cylinder boundary.
> /dev/hda5           37772       39701      971901  
>  Linux swap /
> Solaris
> /dev/hda6   *       13579       25676     6096604+ 

Note carefully where /dev/hda6 starts and ends

>  Linux
> /dev/hda7           25676       37772     6096636  
>  Linux

Note carefully where /dev/hda7 starts and ends

/dev/hda2 is an *extended* partition. That means that
is a chunk of disc which has been reserved to create
other partitions in it. It cannot be used as a
itself. Both /dev/hda6 and /dev/hda7 are *part* of
I don't know what you have done with your mounts,
you didn't show them, but you might try mounting
it might have a file system in it. If it doesn't, then
you could try mkfs and then mount /dev/hda6

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Reply to: