Re: Resize partitions urgent help
Carl Fink wrote: > > On Tue, Aug 03, 2004 at 11:34:29PM +0300, David Baron wrote: > > When I put in a second disk in my Windows box and could not get fdisk to work, > > I shelled out the money for ParitionMagic. Does the job--reparitioning is > > scarey, especially when there is already data on the disk. > > I used BOOT-IT, which is much cheaper and worked perfectly. You need a > Windows system (not necessarily the one being partitioned) to use it, at > least the downloaded version -- it's a Windows program that creates a boot > diskette or CD-ROM. I haven't tried it under WINE. > -- > Carl Fink [EMAIL PROTECTED] > Jabootu's Minister of Proofreading > http://www.jabootu.com If you meant BootIt NG (BING), you don't actually need DOS or Windows to make the diskette. You can create the floppy disk by just copying the raw image (DISKIMG3.DAT) included in the downloaded zip file with a command such as 'cp DISKIMG3.DAT /dev/fd0' And making a bootable CD is just a matter of using that same file as the boot image while creating the ISO file with 'mkisofs', or of course you can also do that from xcdroast etc. Tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
On Tue, Aug 03, 2004 at 11:34:29PM +0300, David Baron wrote: > When I put in a second disk in my Windows box and could not get fdisk to work, > I shelled out the money for ParitionMagic. Does the job--reparitioning is > scarey, especially when there is already data on the disk. I used BOOT-IT, which is much cheaper and worked perfectly. You need a Windows system (not necessarily the one being partitioned) to use it, at least the downloaded version -- it's a Windows program that creates a boot diskette or CD-ROM. I haven't tried it under WINE. -- Carl Fink [EMAIL PROTECTED] Jabootu's Minister of Proofreading http://www.jabootu.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Resize partitions urgent help
David Baron wrote: > When I bought a big disk, I put in several Windows paritions and a > Linux one. No sweat, installed Knoppix and onwards. If I get around > to dividing Linux things up, I will probably use it again. I have moved to using QTParted. It's on the Knoppix cdrom and works very well. Just open a terminal, type "su" and then "qtparted" (no quotes of course). I like using a LiveCD to repartition my drives, rather than a program that is installed on a drive. It always seemed like trouble waiting to happen when I used a program to partition the disk it was running on.
Re: Resize partitions urgent help
When I put in a second disk in my Windows box and could not get fdisk to work, I shelled out the money for ParitionMagic. Does the job--reparitioning is scarey, especially when there is already data on the disk. The program runs under Windows but will reboot to DOS if data must be moved (pray nothing goes awry during this stage!), then reboots to Windows. Will do everything under GUI if no data needs be moved. When I bought a big disk, I put in several Windows paritions and a Linux one. No sweat, installed Knoppix and onwards. If I get around to dividing Linux things up, I will probably use it again. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
On Tuesday 03 August 2004 16:45, Vijaya S wrote: > thanks a lot , > But my main problem is i havent used parted anytime > And moreover /debian is important i will take a backup of it how do i use > parted to do that? > Regards, > Vijaya Parted is very simple to use, and can tell you its commands with the help command. It can copy partitions, but /debian is 19G so where are you going to back it up to? If you can do that, the you could easily grow things. The best thing to do is load the stand alone version of the gnu web site, which should be here http://www.gnu.org/software/parted/parted.html although it s timing out at the moment so I can check You must not be accessing the filesystems with anything else whilst it is working. I think you can shrink your /dev/hda8 partition and then grow the /dev/hda7 parttion with the RESIZE command. Check the man page for what filesystems it will do this with. In future take a look at LVM. This allows much easier growing, shrinking and even extending over multiple devices a partition. As hinted at by others in this thread reiserfs is a good filesystem to use. I like to use reiserfs because it allows you to grow filesystems (assuming you have already made the partition bigger - with lvm that is a simple lvextend command) without dismounting it. You can shrink them too - but only when dismounted. -- Alan Chandler [EMAIL PROTECTED] First they ignore you, then they laugh at you, then they fight you, then you win. --Gandhi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
On Tue, Aug 03, 2004 at 03:45:01PM +, Vijaya S wrote: > thanks a lot , > But my main problem is i havent used parted anytime > And moreover /debian is important i will take a backup of it how do i use parted > to do that? Try nParted, "apt-cache show nparted" says: nParted is a newt-based front end to the GNU parted library that permits the user to resize, copy, and move disk partitions in the style of PowerQuest's well-known Partition Magic partition table editor. I hope this helps Didar -- BOFH excuse #149: Dew on the telephone lines. Random signature generated by Signify v1.07 http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
John Summerfield <[EMAIL PROTECTED]> writes: >>You might want to check package 'convertfs' and turn your filesystem(s) >>to >>reiserfs. I did exactly that - on live fs - and didn't have any problems >>whatsoever. YMMV, though. > > Why whould Vijaya want to do that? Oh, sorry - I forgot to share the most important details - size of mounted reiserfs partitions can be readjusted on the fly (using resize_reiserfs -f) whereas using ext2 unmounting is a must (I think). Of course, the OP might want to stick with ext3 due to several reasons. Besides, I don't know how bug-free converts is, but I've used it twice to convert a live filesystem from ext3 to reiserfs, and didn't have problems. Sorry for the missing crucial details on the previous post :) -- # Edvard Majakari Software Engineer # PGP PUBLIC KEY available Soli Deo Gloria! $_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n"; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
No i do not want to change the filesystem :) John Summerfield wrote: > Edvard Majakari wrote: > > >Vijaya S <[EMAIL PROTECTED]> writes: > > > > > > > >>Hi all, > >>I have a server with the following structure. > >> > >># df -hT > >>FilesystemTypeSize Used Avail Use% Mounted on > >>/dev/hda2 unknown8.3G 399M 7.5G 5% / > >>tmpfstmpfs252M 0 252M 0% /dev/shm > >>/dev/hda3 ext3 19G 1.8G 16G 11% /usr > >>/dev/hda5 ext39.2G 1.9G 6.9G 22% /var > >>/dev/hda6 ext3 12G 1.4G 9.1G 13% /home > >>/dev/hda7 ext3 19G 19G 0 100% /debian > >>/dev/hda8 ext36.9G 33M 6.6G 1% /work > >> > >>The /dev/hda7 has been utilized 100% so i would like to increase it to > >>22GB and /work to 2.6GB > >>Is it possible? If so how do i do it without data loss or > >>undestructively? > >> > >> > > > >You might want to check package 'convertfs' and turn your filesystem(s) to > >reiserfs. I did exactly that - on live fs - and didn't have any problems > >whatsoever. YMMV, though. > > > > > > Why whould Vijaya want to do that? > > -- > > Cheers > John > > -- spambait > [EMAIL PROTECTED] [EMAIL PROTECTED] > Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
> The /dev/hda7 has been utilized 100% so i would like to increase it to > 22GB and /work to 2.6GB > Is it possible? If so how do i do it without data loss or > undestructively? If you don't mind spending a bit of cash, have a look at 'Partition Commander' I got it fairly cheap on Amazon. Can move and resize ext3 non destructively. You will need the packaged version as this contains a bootable CD. I used it on my Debian, worked well. -- Patrick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
Edvard Majakari wrote: Vijaya S <[EMAIL PROTECTED]> writes: Hi all, I have a server with the following structure. # df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/hda2 unknown8.3G 399M 7.5G 5% / tmpfstmpfs252M 0 252M 0% /dev/shm /dev/hda3 ext3 19G 1.8G 16G 11% /usr /dev/hda5 ext39.2G 1.9G 6.9G 22% /var /dev/hda6 ext3 12G 1.4G 9.1G 13% /home /dev/hda7 ext3 19G 19G 0 100% /debian /dev/hda8 ext36.9G 33M 6.6G 1% /work The /dev/hda7 has been utilized 100% so i would like to increase it to 22GB and /work to 2.6GB Is it possible? If so how do i do it without data loss or undestructively? You might want to check package 'convertfs' and turn your filesystem(s) to reiserfs. I did exactly that - on live fs - and didn't have any problems whatsoever. YMMV, though. Why whould Vijaya want to do that? -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
Vijaya S <[EMAIL PROTECTED]> writes: > Hi all, > I have a server with the following structure. > > # df -hT > FilesystemTypeSize Used Avail Use% Mounted on > /dev/hda2 unknown8.3G 399M 7.5G 5% / > tmpfstmpfs252M 0 252M 0% /dev/shm > /dev/hda3 ext3 19G 1.8G 16G 11% /usr > /dev/hda5 ext39.2G 1.9G 6.9G 22% /var > /dev/hda6 ext3 12G 1.4G 9.1G 13% /home > /dev/hda7 ext3 19G 19G 0 100% /debian > /dev/hda8 ext36.9G 33M 6.6G 1% /work > > The /dev/hda7 has been utilized 100% so i would like to increase it to > 22GB and /work to 2.6GB > Is it possible? If so how do i do it without data loss or > undestructively? You might want to check package 'convertfs' and turn your filesystem(s) to reiserfs. I did exactly that - on live fs - and didn't have any problems whatsoever. YMMV, though. -- # Edvard Majakari Software Engineer # PGP PUBLIC KEY available Soli Deo Gloria! $_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n"; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
thanks a lot , But my main problem is i havent used parted anytime And moreover /debian is important i will take a backup of it how do i use parted to do that? Regards, Vijaya Didar Hussain wrote: > On Tue, Aug 03, 2004 at 11:44:48AM +, Vijaya S wrote: > > Vijaya S wrote: > > > > > Hi all, > > > I have a server with the following structure. > > > > > > # df -hT > > > FilesystemTypeSize Used Avail Use% Mounted on > > > /dev/hda2 unknown8.3G 399M 7.5G 5% / > > > tmpfstmpfs252M 0 252M 0% /dev/shm > > > /dev/hda3 ext3 19G 1.8G 16G 11% /usr > > > /dev/hda5 ext39.2G 1.9G 6.9G 22% /var > > > /dev/hda6 ext3 12G 1.4G 9.1G 13% /home > > > /dev/hda7 ext3 19G 19G 0 100% /debian > > > /dev/hda8 ext36.9G 33M 6.6G 1% /work > > > > > > The /dev/hda7 has been utilized 100% so i would like to increase it to > > > 22GB and /work to 2.6GB > > > Is it possible? If so how do i do it without data loss or > > > undestructively? > > > > 1) Copy /work to either /var, /home or /usr with "cp -r" > mkdir /home/workback > cp -vr /work/* /home/workback > > > 2) Delete partition /dev/hda8 (YES!) > > > 3) Use `parted' to increase the size of /dev/hda7 > > 4) Recreate /dev/hda8 from the available disk space > > 5) Mount /dev/hda8 to /work and copy back the /workback > > HTH, > > Didar > > -- > > Life is cheap, but the accessories can kill you. > > Random signature generated by Signify v1.07 > http://www.debian.org/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
On Tue, Aug 03, 2004 at 11:44:48AM +, Vijaya S wrote: > Vijaya S wrote: > > > Hi all, > > I have a server with the following structure. > > > > # df -hT > > FilesystemTypeSize Used Avail Use% Mounted on > > /dev/hda2 unknown8.3G 399M 7.5G 5% / > > tmpfstmpfs252M 0 252M 0% /dev/shm > > /dev/hda3 ext3 19G 1.8G 16G 11% /usr > > /dev/hda5 ext39.2G 1.9G 6.9G 22% /var > > /dev/hda6 ext3 12G 1.4G 9.1G 13% /home > > /dev/hda7 ext3 19G 19G 0 100% /debian > > /dev/hda8 ext36.9G 33M 6.6G 1% /work > > > > The /dev/hda7 has been utilized 100% so i would like to increase it to > > 22GB and /work to 2.6GB > > Is it possible? If so how do i do it without data loss or > > undestructively? > 1) Copy /work to either /var, /home or /usr with "cp -r" mkdir /home/workback cp -vr /work/* /home/workback 2) Delete partition /dev/hda8 (YES!) 3) Use `parted' to increase the size of /dev/hda7 4) Recreate /dev/hda8 from the available disk space 5) Mount /dev/hda8 to /work and copy back the /workback HTH, Didar -- Life is cheap, but the accessories can kill you. Random signature generated by Signify v1.07 http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
Magnus Therning wrote: I don't know if parted (package: parted) would suffice in this situation. I've used it and never had any problems with it. Not if, as it seems, there's data in adjoining partitions. /M On Tue, Aug 03, 2004 at 11:44:48AM +, Vijaya S wrote: Vijaya S wrote: Hi all, I have a server with the following structure. # df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/hda2 unknown8.3G 399M 7.5G 5% / tmpfstmpfs252M 0 252M 0% /dev/shm /dev/hda3 ext3 19G 1.8G 16G 11% /usr /dev/hda5 ext39.2G 1.9G 6.9G 22% /var /dev/hda6 ext3 12G 1.4G 9.1G 13% /home /dev/hda7 ext3 19G 19G 0 100% /debian /dev/hda8 ext36.9G 33M 6.6G 1% /work The /dev/hda7 has been utilized 100% so i would like to increase it to 22GB and /work to 2.6GB Is it possible? If so how do i do it without data loss or undestructively? Its a debian machine Regards, Vijaya -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
Pls don't crosspost to different lists, esp debian/non-debian. I don't like getting bounce messages because I'm not subscribed to them, and I usually don't reply. Vijaya S wrote: Vijaya S wrote: Hi all, I have a server with the following structure. # df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/hda2 unknown8.3G 399M 7.5G 5% / tmpfstmpfs252M 0 252M 0% /dev/shm /dev/hda3 ext3 19G 1.8G 16G 11% /usr /dev/hda5 ext39.2G 1.9G 6.9G 22% /var /dev/hda6 ext3 12G 1.4G 9.1G 13% /home /dev/hda7 ext3 19G 19G 0 100% /debian /dev/hda8 ext36.9G 33M 6.6G 1% /work The /dev/hda7 has been utilized 100% so i would like to increase it to 22GB and /work to 2.6GB Is it possible? If so how do i do it without data loss or undestructively? Its a debian machine We hope si:-) Plan a. Back, repartition, restore/. This the most satisfactory without spending money. Plan b. New hard drive. Move data over, Mount it in /debian. This is best for the long term. Plan c Move the all of contents of a major subdirectory of /debian to somewhere else, and symlink to it. If you do buy a new hard drive, consider making it your primary drive and putting all your OS on it & keeping the old one for the debian stuff. Likely, the new drive will be faster than the old, especially if you get one of the better ones. -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
I don't know if parted (package: parted) would suffice in this situation. I've used it and never had any problems with it. /M On Tue, Aug 03, 2004 at 11:44:48AM +, Vijaya S wrote: >Vijaya S wrote: > >> Hi all, >> I have a server with the following structure. >> >> # df -hT >> FilesystemTypeSize Used Avail Use% Mounted on >> /dev/hda2 unknown8.3G 399M 7.5G 5% / >> tmpfstmpfs252M 0 252M 0% /dev/shm >> /dev/hda3 ext3 19G 1.8G 16G 11% /usr >> /dev/hda5 ext39.2G 1.9G 6.9G 22% /var >> /dev/hda6 ext3 12G 1.4G 9.1G 13% /home >> /dev/hda7 ext3 19G 19G 0 100% /debian >> /dev/hda8 ext36.9G 33M 6.6G 1% /work >> >> The /dev/hda7 has been utilized 100% so i would like to increase it to >> 22GB and /work to 2.6GB >> Is it possible? If so how do i do it without data loss or >> undestructively? > >Its a debian machine > >> >> >> Regards, >> Vijaya > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://magnus.therning.org/ Storing is like eating. You can eat cheaper, but you can't not eat. -- Colin Ferenbach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Resize partitions urgent help
Vijaya S wrote: > Hi all, > I have a server with the following structure. > > # df -hT > FilesystemTypeSize Used Avail Use% Mounted on > /dev/hda2 unknown8.3G 399M 7.5G 5% / > tmpfstmpfs252M 0 252M 0% /dev/shm > /dev/hda3 ext3 19G 1.8G 16G 11% /usr > /dev/hda5 ext39.2G 1.9G 6.9G 22% /var > /dev/hda6 ext3 12G 1.4G 9.1G 13% /home > /dev/hda7 ext3 19G 19G 0 100% /debian > /dev/hda8 ext36.9G 33M 6.6G 1% /work > > The /dev/hda7 has been utilized 100% so i would like to increase it to > 22GB and /work to 2.6GB > Is it possible? If so how do i do it without data loss or > undestructively? Its a debian machine > > > Regards, > Vijaya -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]