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

Re-partitioning -- uh oh, I'm confused

Hi all,

I have a machine running Debian Woody. There's one
120GB hard drive, /dev/hda. When I installed Debian a
few months ago, I split the disk into two 60GB
partitions. I figured that I'd install another OS in
the second partition. I never did. Now, I want to
recombine the partitions into one, big chunk.

This would be a pretty straightforward use of parted,
I assume, but here's the rub: For some reason, the
Debian installer put / on /dev/hda1 and /usr on
/dev/hda3. If I just delete /dev/hda3, I'll destroy
/usr, right? That, I presume, would be bad. 

So how to I handle this? Can I just mount /usr on
/dev/hda1, then delete /dev/hda3? Or is my /usr data
on /dev/hda3? I guess I just don't understand
partitioning that well and I'm confused. Any

Here's the disk layout:

machine1:~# df
Filesystem           1k-blocks      Used Available
Use% Mounted on
/dev/hda1             57677500  45016936   9730712 
83% /
/dev/hda3             56720252    618292  53220704  
2% /usr

(parted) print
Disk geometry for /dev/hda: 0.000-114473.460 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem 
1          0.031  57223.718  primary   ext3       
2      57223.718  58196.403  primary   linux-swap
3      58196.404 114470.969  primary   ext3

And here's /etc/fstab:

# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>     
         <dump>  <pass>
/dev/hda1       /               ext3   
errors=remount-ro       0       1
/dev/hda2       none            swap    sw            
         0       0
proc            /proc           proc    defaults      
         0       0
/dev/fd0        /floppy         auto    user,noauto   
         0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto
         0       0
/dev/hda3       /usr    ext3    defaults              
         0       2



Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 

Reply to: