Find the answer to your Linux question:
Results 1 to 3 of 3
I encountered problems with HDD Size after I made an upgrade of the HDD from 40 to 120 GB. I had a dual-boot system (WinXP/SuSe10.1), created new partitions and made ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    73

    "No space left" error after HDD upgrade

    I encountered problems with HDD Size after I made an upgrade of the HDD from 40 to 120 GB.
    I had a dual-boot system (WinXP/SuSe10.1), created new partitions and made a simple copy :
    cat /dev/hda1 > /dev/hdb1,
    .................................................. ..................
    and after that installed the new disk as /dev/hda.
    Partitions on the new disk are ~3 times larger, but their structure is exactly the same as on the old disk. Both WinXP and SuSe boot normally, but the problem is that they both cannot accept more information than they could on the old disk
    (e.g.: root partition / hda3 had size 10 GB, after upgrade: 25 GB, but hda3 cannot accept more than 10 GB ["No space left error"] though there are 15 GB free !)

    Both "fdisk" and "parted" report that the partitions have new sizes (e.g. /dev/hda3 has 25 GB). Partitioning program in Yast also reports that partitions are correct.
    Any ideas ???

    PS: I have SuSe 10.1 on my laptop Thinkpad A31

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    you might try again using "dd" instead of "cat" thus:

    for i in 1 2 3 4 5 6
    do
    dd if=/dev/hda$i of=/dev/hdb$i
    done

    supposing you have six partitions
    the sun is new every day (heraclitus)

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    73
    Thanks for the reply,

    When I tried dd, I had exactly the same problem.

    Finally,
    (1) I created for Windows the same partitions as on the old disk (in any case I use WinXP very seldom) and copied them with
    Code:
     cat
    from Linux
    (2) In rescue mode I mounted both disks and copied files (not the whole disks) with
    Code:
     find . -xdev | cpio -padm /mnt
    Of course I am curious what is wrong with the first method, but now the second disk functions quite normally. Since I am not Linux engineer, I have no desire to make further experiments.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...