LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

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

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, 05:05 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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, 05:12 AM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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, 08:00 AM   #4
snoozing
Member
 
Registered: Jan 2006
Posts: 31

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, 10: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, 12:19 PM   #6
snoozing
Member
 
Registered: Jan 2006
Posts: 31

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, 12:31 PM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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, 02:07 AM   #8
snoozing
Member
 
Registered: Jan 2006
Posts: 31

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, 03:39 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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, 04:20 AM   #10
snoozing
Member
 
Registered: Jan 2006
Posts: 31

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, 09:17 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

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, 10:08 AM   #12
snoozing
Member
 
Registered: Jan 2006
Posts: 31

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 10: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 02:18 PM
Easter egg in calender DavidPhillips *BSD 0 03-29-2004 09:08 PM
I'm having a chicken (motherboard) and egg (video card) problem. mrwritestuff Linux - Hardware 3 10-06-2003 06:33 PM
Which came first...the chicken of the egg? ugenn Linux - Newbie 3 04-13-2002 10:17 AM
Swap file-to chicken to try it fail66 Linux - General 15 12-31-2001 08:04 PM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration