any easy way to resize the root partition ?
Re: any easy way to resize the root partition ?
The autoinstall option in the standard installation CD assigns 6GB to the / partition if a hard drive is >14GB, 1GB in swap and the rest as /home.
Re: any easy way to resize the root partition ?
Hm maybe 6GB is a bit tight. Perhaps a third tier could be introduced, say 15 GB for HD over 50 GB (nowadays by far the most common situation?)
Re: any easy way to resize the root partition ?
hi again, just to things more clear , i have two separate hard drive ATA, in everone there is about 250 gigabyte , the main one was sda , then i bought another one , i add it , and now it's called sdb . the problem i had is to install salix on the second one = sdb , but no joy
i was like in a war with lilo and mbr , reinstalling salix for nearly 10 times
, for a noob like me people will say it's okay by the time you'll learn
.
anyway back to the problem , so installing on the second drive doesn't work , i get back to sda drive , means the first one
things was okay , and i get what i was looking for the root partion now is about 40 gigabyte
, maybe some will say why all this for root partition , you'll not need all that ,
, well just i want that size
here is some info about the new installation
**********************************************************************************
thanks everybody for your help and support , it was really kind of you . wish you a good & a happy life



anyway back to the problem , so installing on the second drive doesn't work , i get back to sda drive , means the first one
things was okay , and i get what i was looking for the root partion now is about 40 gigabyte



here is some info about the new installation
Code: Select all
zazlox[~]$ su
Password:
root[zazlox]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 37G 2.6G 33G 8% /
/dev/sda3 188G 220M 178G 1% /home
tmpfs 1.6G 0 1.6G 0% /dev/shm
/dev/sdc 1.9G 1.9G 42M 98% /media/disk
Code: Select all
root[zazlox]# cat /etc/fstab
/dev/sda2 swap swap defaults 0 0
/dev/sda1 / ext4 noatime,defaults 1 1
/dev/sda3 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users,rw,umask=00 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Code: Select all
root[zazlox]# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/salix.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,20,255,20,255,20
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,29,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Append any additional kernel parameters:
append="quiet vt.default_utf8=1"
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
Code: Select all
root[zazlox]# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002bff8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 78124094 39062016 83 Linux
/dev/sda2 78124095 89835479 5855692+ 82 Linux swap
/dev/sda3 89835480 488397167 199280844 83 Linux
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006a159
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 78124094 39062016 83 Linux
/dev/sdb2 78124095 476568224 199222065 83 Linux
/dev/sdb3 476568225 488397167 5914471+ 82 Linux swap
Disk /dev/sdc: 2020 MB, 2020904448 bytes
63 heads, 62 sectors/track, 1010 cylinders, total 3947079 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
root[zazlox]#
thanks everybody for your help and support , it was really kind of you . wish you a good & a happy life
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
Re: any easy way to resize the root partition ?
Installing on an sdb certainly works. Autoinstall will not, but otherwise it works. You'll still have to put lilo in sda, where the bios looks to boot your pc ofcourse.
Re: any easy way to resize the root partition ?
thanks gapan, could you post an example of lilo;conf file , and how nearly will look?
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.
Re: any easy way to resize the root partition ?
Code: Select all
lba32
append="quiet splash vt.default_utf8=1"
boot = /dev/sda
compact
bmp-retain
bitmap = /boot/salix.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 40
change-rules
reset
vga=791
# Salix
image = /boot/vmlinuz
root = /dev/sdb1
label = Linux
read-only
Re: any easy way to resize the root partition ?
thanks a lot, gapan . i'll try that later .
The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it.