SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Because I am low on hardrive space which is about 70mb and want to upgrade to KDE 3.4 and I don't want to mess up my windows installation
These are the two I want to merge
/dev/hda5 /mount/dev/hda5/mnt/1GB_native reiserfs auto,acl,user_xattr 1 2
into
/dev/hda7 / reiserfs acl,user_xattr 1 1
if /dev/hda5 and /dev/hda7 are not consecutive it cannot be done.
if they are consecutive, is it possible to move all the important data in the second partition somewhere else? if you can, it is simply a matter of then deleting /dev/hda7 and extending /dev/hda5 into the empty space.
hda1 Primary Dell Utility 32.91
hda2 Boot Primary NTFS 26781.52
hda5 Logical Linux ReiserFS 1077.52
hda6 Logical Linux swap 263.21
hda7 Logical Linux ReiserFS 1850.69
Here you go
Disk /dev/sda: 65 MB, 65208320 bytes
129 heads, 11 sectors/track, 89 cylinders
Units = cylinders of 1419 * 512 = 726528 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 90 63674 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(89, 128, 11) logical=(89, 97, 1)
Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 4 32098+ de Dell Utility
/dev/hda2 * 5 3260 26153820 7 HPFS/NTFS
/dev/hda3 3261 3648 3116610 f W95 Ext'd (LBA)
/dev/hda5 3261 3391 1052226 83 Linux
/dev/hda6 3392 3423 257008+ 82 Linux swap
/dev/hda7 3424 3648 1807281 83 Linux
delete hda6 (swap), and extend hda5 into the empty space.
then transfer as much of the data (from hda7) as you can into hda5.
if there is still data in hda7 you can either make a cd of it (if you have a burner) or if there is very little data left (ie less than 1 mg) you could email it to yourself in chunks (which can then be retrieved after extending hda5 again and making another swap out of some remaining space).
this should work well because the swap will still be hda6 (if done right) and your main partition will still be hda5. this will mean less changes to fstab.
can you please post the results of running "df"? or look in KDiskFree and tell me how much space there is in each partition.
do you have a burner? that would be the best way to transfer data that won't initially fit.
so?
we can't do any of this from inside suse anyway. you'll need a livecd (ie knoppix) to do it easiest.
will the data in hda7 fit inside the remaining space on hda5 and hda6 (assuming we make hda6 into a usable partition)?
the best way to find this out will be to open a shell (eg Konsole) and type:
Code:
df
Then tell me the results to "df" so that i can better help you.
edit:
forgot to mention, we will make hda5 the primary partition. By this i mean that we will keep the same directory structure as before so that "/" which is hda7 will be the lowest directory on hda5, and move all the data in hda5 to its mount point when it is all mounted in a running system. we can do this by making this folder in hda5 "/mount/dev/hda5/mnt/1GB_native" (or whatever its mount point is - df will tell you) and moving everything in hda5 to that folder. This means that hda5 will resemble how the file system looks on a system with both hda5 and hda7 mounted, but without all the data thats on hda7 (we will then want to move all of that into hda5 from hda7)
tell me which bits don't make sense, i know most of it doesn't. got a broken finger so re-typing it will take ages.
We are going to leave windows alone. No changes will be made to the windows partitions.
When you have suse running, look in the '/' directory. We are going to move all of hda7 (which contains most of the things in the '/' dir) into hda5. Then we will move all of the original data in hda5 to its position relative to '/'. This will be the same dir as its mount point (when suse is running).
To allow you to keep booting suse, we will make another swap partition (we deleted the old one), re-install the bootloader and edit fstab (and anything else we think of along the way).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.