Change partitions on a linux system: possible?

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Change partitions on a linux system: possible?

Post by Stark »

Apparently its all a big secret. The drives involved aren't boot, aren't system, and don't contain anything but data. All I want to do is remove the present partitions and setup an LVG. If I have to reinstall, thats stupid.

I've found reference to commandline stuff I could use, but I haven't turned up what they ARE. So help a poor n00b who sure as hell isn't reinstalling just to edit the damn partition table.

EDIT - so commandline stuff can't do LVM and disk druid wants to kill my boot part if do a commando reinstall. My system is on a pair of SCSI disks, and I'm messing with a pair of IDEs, but neh...

EDIT2 - I ran a reinstall without packages and leaving the system parts intact. Now I get access denied on all the RL5 boot actions. Great.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Depends on your filesystem type. If it's ReiserFS/Ext[23] then resizing partitions is possible. You'll need parted and fdisk, plus whatever tools are needed for configuring LVM.

Here is an LVM howto:
http://www.tldp.org/HOWTO/LVM-HOWTO/upg ... tolvm.html

Erm, command line stuff can do LVM... I don't use Mandrake, can't help you w/ GUI tools (and haven't used LVM, since I just dump everything on one partition- my understanding is that you make your base partitions as small as possible, then create new partitions on the fly to expand them as needed- fiddled around with it while installing Debian, and figured it wasn't worth the performance overhead).

And what's RL5? A boot loader?

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

I broke boot somehow: it never gets past runlevel five, and doesn't boot. Bah. I decided commandline wouldn't work when parted had a very narrow choice of options. Why the fuck FC3 doesn't just have an easy way to change it I don't know.

So is there an easy way to fix a permissions problem on boot or should I just boot in rescue mode, grab my configurations and reinstall?
User avatar
Spacebeard
Padawan Learner
Posts: 473
Joined: 2005-03-21 10:52pm
Location: MD, USA

Post by Spacebeard »

Boot into single user mode and change the permissions? This ought to work, if all you mean by permission problem is some file with the wrong filesystem permissions causing one of the rc scripts to fail.
"This war, all around us, is being fought over the very meanings of words." - Chad, Deus Ex
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

I a) don't know what exactly I don't have access to (its boot, so who needs access to it?) and b) I'm not sure how extensive it is.
Post Reply