LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-02-2006, 03:54 AM   #1
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Rep: Reputation: 15
Partition root : chicken or egg?


I've found in Suse 10.0 a partition tool which can increase the size of a partition. Fine. But to increase / I must unmount it and then the partition tool will not work.
Can I change my shoes while standing in them?
Can I call the partion tool from the command line after unmounting the root. Or must I install a second instance of Suse to deactivate the partition and resize it?
 
Old 02-02-2006, 04:05 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Use a LiveCD, like KNOPPIX. It will provide all required tools for resizing operations without the need to mount your HDD filesystem.
 
Old 02-02-2006, 04:12 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I am sure you can resize the root partition from rescue mode which you can access by booting from your installation disc.
 
Old 02-02-2006, 07:00 AM   #4
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Well Reddazz, I already have used the installation disk once to rescue myself and there was nothing which would deal with partitioning.

I seek a software which can run from a floppy and resize the root partition, 4.3 Gigabytes.

I tried Knoppix and it is from 2004 and doesn't like my graphics at all--won't even go into command line.
 
Old 02-02-2006, 09:11 AM   #5
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Quote:
tried Knoppix and it is from 2004 and doesn't like my graphics at all--won't even go into command line.
Download the latest CD.


Personally I hate live-CDs and instead I always have at least two distros installed on two physically separate hard drives.
This way I can easily tear apart and rebuild the other partition table from the comfort and safety of a fully functional familiar OS.
 
Old 02-02-2006, 11:19 AM   #6
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
I downloaded the newest Knoppix an hour ago but it warns me to use option -b with the cd buring application.

Well, I can only burn it on a windows machine here with nero. My linux is at 99.99% capacity as it is. No new applications in sight.

With nero would the iso bring in these boot sectors the the "-b" option probably deals with?
 
Old 02-02-2006, 11:31 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I don't know the -b option, but in Nero, the 'Burn ISO' or 'Burn Image' function should work without any further adjustments.
 
Old 02-03-2006, 01:07 AM   #8
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
So knoppix is rolling now, however it has no Yast, so it has no partitioning tool.
 
Old 02-03-2006, 02:39 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
Originally Posted by snoozing
So knoppix is rolling now, however it has no Yast, so it has no partitioning tool.
Wrong! The partitioning tool of YaST is just a GUI for parted. In knoppix you can use qparted or, as I prefer it, cfdisk and resize_reiserfs from command-line. Remember, YaST may be a SUSE tool only, but other distros have their own way to do the same jobs.
 
Old 02-04-2006, 03:20 AM   #10
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
let me get this right :
use cfdisk. Man tells me to delete then recreate and my data should be intact. It should gobble up that empty space after it as soon as I enter "w" for write.

Then use resize_reiserfs -s +1G /dev/hda1.

this this right?
 
Old 02-04-2006, 08:17 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Sounds right, didn't check the parameters, though. Make sure you don't grow the filesystem beyond the partition size. And don't change the start-cylinder of the partition. Only grow on the lower end.
 
Old 02-04-2006, 09:08 AM   #12
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
It works, it just grew clean with 1Gig.

That cfdisk command-line program is apparently a partition table tweaker. Only good after you reboot.
And that resize_reiserfs makes the file system cognizant of the physical change in the disk.

This two step approach is something which is transparent with things like Part Magic.

All I need now is a way to say "take all that empty space below you and don't bother me with cyl numbers, byte count and sectors."



PS. You know, that "Delete" button in cfdisk scares the
**** out of me.

Last edited by snoozing; 02-04-2006 at 09:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiler chicken and egg problem novasoy Linux - Newbie 4 06-24-2004 01:18 PM
Easter egg in calender DavidPhillips *BSD 0 03-29-2004 08:08 PM
I'm having a chicken (motherboard) and egg (video card) problem. mrwritestuff Linux - Hardware 3 10-06-2003 05:33 PM
Which came first...the chicken of the egg? ugenn Linux - Newbie 3 04-13-2002 09:17 AM
Swap file-to chicken to try it fail66 Linux - General 15 12-31-2001 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:33 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