LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-25-2004, 12:07 PM   #1
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
resize /var


I would like to resize my /var partition, but when I log on as root and try to umount it to resize it (using diskdrake), it says the device is busy. I cannot figure out how to umount it...
I thought about mounting /var it to a different partition (/vartemp), resizing /var and remounting to /var, but I dont have any extra space or any extra partitions. I would like to use what I have right now. Any suggestions? Thanks.
 
Old 09-25-2004, 01:38 PM   #2
d0odman
Member
 
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
Single user mode

One thing to try is to boot in to single user mode. For slackware, it's runlevel 1. You can edit /etc/inittab which is very well documented for most distributions, then reboot. Be sure to change it back to whichever runlevel it was set at before when you're done doing your thing.

Or, you can go there directly after you boot up with 'telinit'. You'd still need to look in inittab for the runlevel numbers, though.

If you use telinit ('telinit 1'), do all your business there, then telinit back in to the multiuser session. There are two in slackware, 3 and 4, 4 starts up the X(K,G)DM session manager. HTH
 
  


Reply



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
How to resize a partition siepmann Linux - Software 3 10-27-2004 08:53 PM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 06:46 PM
rm cannot remove /var/run/atd.pid and /var/run/xdm.pid danishmr Linux - Software 1 05-04-2004 08:01 AM
Resize / ? Sugarat Solaris / OpenSolaris 4 12-06-2003 12:10 PM
Resize Partition? mikeshn Linux - General 6 08-22-2002 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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