On Sunday 07 December 2003 20:57, Klaus Neumann wrote:
> On Sunday 07 December 2003 11:48 am, Jeff Smelser wrote:
> > On Sunday 07 December 2003 01:35 pm, Klaus Neumann wrote:
> > > Hi,
> > > Got a new, bigger HD. I succeeded in copying everything from hda1-3 to
> > > hdb1-3 using partimage. I can also boot into the new system. The only
> > > problem I have now, is that my filemanagers, and df show the wrong
> > > (old) size of hdb3, about 5GB free, whereas Qtparted shows the correct
> > > size of about 55 GB free. How can I reclaim the missing 50 GB?
> > > hda3: ca. 10Gb
> > > hdb3: ca. 60Gb
> >
> > Did you change your fstab entries? Did you change your grub entries? How
> > can you be certain it is booting in the new system?
>
> Yes, I did change fstab and lilo.conf, chroot into the new system, and ran
> lilo, then exited, rebooted, and got the lilo choice of booting the old or
> the new system.

You've copied the filesystem and not the files. The filesystem holds infos 
about its size. Since the partition is bigger than the fs, you've got to 
either resize your fs or re-copy files:

0. boot with the old kernel, stop every service (or boot in linux single)
1. format hdb3
2. mkreiserfs /dev/hda3
3. mount hda3 somewhere
4. cp -ax / somewhere

-a : archive mode
-x : stay on the copied filesystem

after this, hdb3 will be roughy equal to hd3 (modulo some modified files 
in /var/)
and df should report the right size for hdb3

hth

-- 
mathieu


--
[EMAIL PROTECTED] mailing list

Reply via email to