Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
/dev/hda1 on / type reiserfs (rw)
/dev/hdc on /mnt/cdrom type iso9660 (ro,nosuid,nodev)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
proc on /proc type proc (rw)
usbfs on /proc/bus/usb type usbfs (rw)
In this case you have (to the best of my knowledge)
only two choices:
a) back-up everything (probably using partimage and
a networked machine)
or
b)
buy and use the Paragon or Arconis Partition Managers
I'm not aware of any freeware or open-source tools
that will allow resizing ReiserFS partitions.
Tink-
I have a similiar problem except I have I hard drive that was partitioned with windoze as well as linux. I would like to remove the windoze and increase my linux partition. This is what I get when I type the command "mount":
/dev/hda3 on / type ext3 (rw)
/dev/hda1 on /win1 type vfat (rw)
/dev/hda2 on /win2 type vfat (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
proc on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
----
I used fdisk to make the partitions, so would I just delete the vfat partititions and make another ext3 partition or can I increase the size of the existing ext3?
Thanks and cheers
Neil
Originally posted by seaelf Tink-
I have a similiar problem except I have I hard drive that was partitioned with windoze as well as linux. I would like to remove the windoze and increase my linux partition. This is what I get when I type the command "mount":
/dev/hda3 on / type ext3 (rw)
/dev/hda1 on /win1 type vfat (rw)
/dev/hda2 on /win2 type vfat (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
proc on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
----
I used fdisk to make the partitions, so would I just delete the vfat partititions and make another ext3 partition or can I increase the size of the existing ext3?
Thanks and cheers
Neil
Two things:
Firstly: the problem is not similar at all, instead
of hi-jacking an existing thread you should be
firing off a new one for your problem :)
Secondly: ext2/3 can be handled by parted (qtparted
if it needs to be graphical) ... it's included in Knoppix,
for example. You can't do that resize to the mounted
partition.
OK, I want to deal with the problem of re-sizing a Reiser filesystem.
If what Tink says is true (and, coming from his authority, it most probably is), it's a disappointing aspect of the otherwise wonderul Reiser.
I have a suggestion though. With *any* partitioning, you should have a backup of all your sensitive files. I hope you weren't looking for lazy way out of that.
You could keep them on a CD, by using cdrecord on your cdwriter (if you have one). Alternatively you buy a USB stick or extra hard-disk, and just copy it all over. At some stage you will have a full back-up, and then you can clean install the whole thing, after partitioning.
I say this, because windowsXP likes being on the very first partition. And it's good practice to have back ups.
Another option, if you can delete unnecessary files and shave down your current slackware set up, is to split the swap partition itself, say leave it at 256M, which would allow you to create a middle of 1.75G, onto which you could transfer files from your Partition No.1. I admit 1.75G might not be enough, but I think that's possible with swap, as it's temporary stiorage only.
You will have to turn swap off, and umount it for that operation of course. but there are commands for that.
I just saw the following article which tells you how to put all your swap into RAM (check http://kerneltrap.org/node/view/3660) meaning that you could try use the full 2GB to try and fit your slack into.
I know that's asking alot, but, as I mentioned with efficient trimming you could copy over all the essentials into the 2GB, and then carve up your 58G partition in any way you want.
I just used the systemrescue cd and qtparted to resize and move a reiserfs partition. Seems pretty d a r n easy to me.
First, I resized it down, commit changes.
Don't forget to leave a swap partition in place.
Then I moved it to the right side of the scale. I moved it to the right because Balkman stated that he wanted to install XP. It is usually easier to put Windows systems on the beginning side of a disk aka /dev/hda1.
When you are going to move the partition to the right, you need to make sure to resize it small enough so the entire partition will fit entirely to the right of where it ends.
In other words, if you have a 60GB drive, resize it down to less than 30GB or the move operation won't work.
After you successfully move things to the right, you can install MS in the normal position. Just make sure to not let MS take over the entire drive.
Also, you will need to edit your /etc/fstab and /boot/menu.lst or lilo.
Edit: I was using system rescue cd 0.2.15 . I don't know if the earlier versions work as well for this.
Well that would mean that resizing ReiserFS *is* possible. Sure it was Reiser, yes? Have you also tested? Interesting one. qtparted is only a gui, it must be using a Reiser tool behind the scenes. I'm tempted to try it out myself, if I had more time.
Yep, it's possible. Yes Qtparted is just a GUI front end. I have done the command line version of resize_reiserfs and fdisk but I thought the GUI tool would be easier to explain.
I don't have any particular attraction to reiserfs but just trying to be helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.