LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2009, 11:30 PM   #1
farnaw4u
Member
 
Registered: Aug 2006
Posts: 38

Rep: Reputation: 15
how to reduce size of a partion /dev/sda4 containg /var


hi all

i have /var mounted on /dev/sda4 which consists of 38 GB
i want to get 8 GB from /dev/sda4 as this partion will remain of 30 GB


plz help me how can i get 8GB in such a way that my OS will not hurt


Thnks in advance

Farnaw
 
Old 03-26-2009, 11:43 PM   #2
fwc
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
unfortunately, its not that simple
Please open your terminal and type sudo fdisk -l and post the results here
 
Old 03-26-2009, 11:53 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,116

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Resizing shouldn't be too hard - go get the gparted liveCD. Easy to resize the unmounted partition - whether you can actually use the freed space will depend on the info @fwc asked for.
 
  


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
Sarge: Mounting /dev/sda4 fails with error code 96 lefty.crupps Debian 3 01-22-2007 03:57 PM
Can't find /dev/sda4 anymore when booting ! danran Ubuntu 1 10-02-2006 05:11 PM
mount: /dev/sda4 is not a valid block device ADJ Linux - Hardware 4 08-01-2006 04:53 AM
Disappearing /dev/sda4 and external USB Zip Drive rps63ifid Mandriva 1 01-08-2005 02:16 PM
can't mount zip: /dev/sda4 is not a valid block device tigerflag Linux - Hardware 5 11-02-2003 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 AM.

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