LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2004, 02:07 AM   #1
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
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?
 
Old 04-16-2004, 02:19 AM   #2
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
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.
 
Old 04-16-2004, 02:22 AM   #3
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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.
 
Old 04-16-2004, 02:24 AM   #4
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
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...
 
Old 04-16-2004, 02:25 AM   #5
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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.

Last edited by sharpie; 04-16-2004 at 02:27 AM.
 
Old 04-16-2004, 02:27 AM   #6
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
I remember now. Knoppix has qtparted. works like a champ!
 
Old 04-16-2004, 02:54 AM   #7
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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.
 
Old 04-16-2004, 02:56 AM   #8
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
Good luck. I wish I knew more about you specific situation. Let me know how it goes.
 
Old 04-16-2004, 05:12 PM   #9
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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?
 
Old 04-17-2004, 05:26 AM   #10
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
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.

Last edited by urzumph; 04-17-2004 at 05:29 AM.
 
Old 04-18-2004, 12:24 AM   #11
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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.
 
Old 04-21-2004, 04:53 AM   #12
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cciss and gnu parted jimieee Linux - Hardware 0 10-27-2003 11:47 AM
gnu parted hyphenage Linux - Software 3 08-17-2003 04:41 PM
Partitioning: GNU Parted Gerardoj Linux - General 1 06-01-2003 01:50 AM
GNU parted nakkaya Linux - Software 4 03-10-2003 02:17 PM
GNU parted nic_d Linux - Software 1 06-28-2002 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration