LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Anyone know of a live distro that has the GNU parted tool? (https://www.linuxquestions.org/questions/linux-general-1/anyone-know-of-a-live-distro-that-has-the-gnu-parted-tool-170810/)

sharpie 04-16-2004 02:07 AM

Anyone know of a live distro that has the GNU parted tool?
 
I don't have a floppy drive, and I need to resize my root ext2 partition. If anyone knows of a live distro that includes the GNU parted utility, I'd appreciate it. So far I've tried Knoppix and Knoppix STD, but neither have this tool.

I'm suprised they'd leave this <1MB program out, when AFAIK fdisk is the closest thing, and this can't resize partitions.

If all else fails I guess I'll have to create my own live CD, is this gonna be a difficult task?

profjohn 04-16-2004 02:19 AM

You might think about installing parted on your system? You can download it and install it, then no need for a live distro..

Just a thought.

sharpie 04-16-2004 02:22 AM

Unfortunately the root partition can't be mounted while resizing. The only other option I can think of is installing another distro onto another partition, and booting off of that to resize my current root. That seems a little too much work, though.

profjohn 04-16-2004 02:24 AM

You can install an app into Knoppix while it is running. I have seen the howto on the community site for Knoppix. Can't recall the details, but I will look...

sharpie 04-16-2004 02:25 AM

I got to thinking, and what about if I boot into knoppix and copy parted into the knoppix root and run it?

Edit: Oops, posted a little late. :D

profjohn 04-16-2004 02:27 AM

I remember now. Knoppix has qtparted. works like a champ!

sharpie 04-16-2004 02:54 AM

I tried installing parted anyway, just for the heck of it as I was curious if it would work under knoppix. It said I needed libuuid, I couldn't be bothered getting that so i tried qtparted.

QTParted won't let me move the ext2 partition. I need to move it in order to resize it without overwriting other partitions, but for some reason it's greyed out. There are other partitions bigger than the root, so that's not the problem. Also I've tried deleting my swap partition twice, and it just won't delete it.

I might get libuuid and try installing parted again. Either that or copy my root partition to another partition, boot from that, and then run parted from there. Both of these options shouldn't be difficult, I'll let you know how it goes.

profjohn 04-16-2004 02:56 AM

Good luck. I wish I knew more about you specific situation. Let me know how it goes.

sharpie 04-16-2004 05:12 PM

I've tried installing the program under knoppix but the root filesystem is read only. I've searched and searched but I can't find out how to install programs under knoppix while running from the CD ROM. Does anyone know how?

urzumph 04-17-2004 05:26 AM

Quote:

Originally posted by sharpie

QTParted won't let me move the ext2 partition. I need to move it in order to resize it without overwriting other partitions, but for some reason it's greyed out. There are other partitions bigger than the root, so that's not the problem. Also I've tried deleting my swap partition twice, and it just won't delete it.

did you
umount /mnt/hd*
?

Edit : Knoppix also uses any available swap partitions by default, so you'll have to unmount that as well.

sharpie 04-18-2004 12:24 AM

Quote:

Originally posted by urzumph
did you
umount /mnt/hd*
?

Edit : Knoppix also uses any available swap partitions by default, so you'll have to unmount that as well.

I did umount /mnt/hd*, and then did mount to make sure it was unmounted, weird...

I'll try umounting the swap partition and then delete.

sharpie 04-21-2004 04:53 AM

I remember the swap was unmounted when I tried deleting, tried it again just in case but no luck.

I ended up just using partition magic, I don't know whether it was due to knoppix but QTparted just wouldn't work for me. It's times like this I wish I had a floppy drive.


All times are GMT -5. The time now is 04:06 AM.