The moose likes Linux / UNIX and the fly likes Anyone Know of a Linux partition manager Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Anyone Know of a Linux partition manager" Watch "Anyone Know of a Linux partition manager" New topic
Author

Anyone Know of a Linux partition manager

Gregory Garrison
Ranch Hand

Joined: Oct 05, 2001
Posts: 107
Need to resize wasted space by some partitions on a Linux only system. Parted program is great but limited. The parted boot disk doesn't recognize the SCSI drive so can't use it to boot and resize. Any suggestions would be really appreciated.
Thanks.
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
Can't you include the SCSI drivers on a copy of
the boot disk?
Partition Magic is supposed to support e2fs, but I
don't know whether they support Linux only systems.
HTH,
Joe
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12510

The simplest way may be to use a boot floppy that supports SCSI. IF you are not using ext3 filesystems, and IF you have a common SCSI controller, try "tomsbrt" from
http://www.toms.net/rb/ . Just download, follow the instructions to create the boot floppy (unlike most mini-linuxes, this one's already packaged so you don't jave to build your own kernel or filesystem) and try booting. I think there's a "parted" on it.
If that doesn't work...
If you're using RedHat 7.1 or 7.2, you can boot from the install CD. You can also use a panic diskette, but I'm not sure how the rest of what I'm going to say fits in.
Anyway, for newer SCSI drivers, you're supposed to be able to simply select the recovery mode boot option. I have an Adaptec 1542 and that didn't work - but if you do a control-shift-F2 (or something like that), you can switch over to a virtual console when it pauses to ask about external drivers and from a command prompt there do a manual /sbin/insmod for the driver, after which the recovery process should be able to see your drives and continue.
The RedHat recovery process thoughtfully mounts your hard drives in the /tmp directory (it'll tell you where). You'll probably have to unmount it before you run "parted".
If you're using LILO to boot, your LILO boot info is going to be invalid now. Remount the (relocated boot partition). You can then "chroot" to there and run LILO to cause LILO to write the code you need to boot using your relocated partitions.
There are plenty of ways to lose data in this process, so make sture everything critical is backed up!


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
IntelliJ Java IDE
 
subject: Anyone Know of a Linux partition manager
 
Threads others viewed
W2K & SUSE 10 / Dual boot
Resize partition?
Partition Magic with win2k/redhat
Install 2 OS
Repartition Disk
IntelliJ Java IDE