Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2007, 04:15 PM   #1
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Partition using CFDISK

hello group, i would just like to seek help.

here is the situation :

1. i have this problem; here is the latter part of my entire 80G HD in linux (did not include the partitions that are not affected)

hdc11 -- OCCUPIED by /home of my SW 12.0
logical FREE 14G
hdc12 -- OCCUPIED BY VL 5.1 SOHO

NOW, my problem IS. . EVERYTIME i try to make use of the FREE 14G of my disk it goes like this :

hdc11 -- OCCUPIED by /home of my SW 12.0
hdc12 ---newly created partition 14G space
hdc13 -- OCCUPIED BY VL 5.1 SOHO

Since my free space is in between hdc11 and hdc12 when i tried making use of the free space... My partition of VL5.1 becomes hdc13. and the new created partition becomes the hdc12.


if I WILL NOW do the "WRITE" option,(in cfdisk)
then I WILL CHANGE the partition of my VL 5.1 from hdc12 to hdc13 FROM my LILO. . .will i still be able to read/load my VL 5.1? ?

example :


other= /dev/hdc12
label = VL5.1

TO :

other= /dev/hdc13
label = VL5.1

# /sbin/lilo -v

*** my fear is that since the partition of VL was moved to hdc13, I will loss my entire VL even I change it to hdc13. .please help. .thanks

Last edited by ic_torres; 07-22-2007 at 04:19 PM.
Old 07-22-2007, 05:25 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,630

Rep: Reputation: 228Reputation: 228Reputation: 228
You are not going to lose anything unless you have a problem with cfdisk but you won't be able to boot VL with just that change. What you did should take care of the needed changes in lilo but you have forgotten about your /etc/fstab in VL as well; it's still listing "/" as /dev/hdc12. You need to change that to /dev/hdc13 or you will get a kernel panic as soon as lilo tries to mount the root filesystem.
Also, for troubleshooting this type of situation, you should get yourself a good livecd; I'd recommend slax:

It's a small download and slackware based like VL. It allows you to access lilo.conf and fstab if you get into a noboot situation.

Finally for partitioning, take a look at gparted livecd:

Its a Partition Magic clone and much easier to use than cfdisk.

Last edited by kilgoretrout; 07-22-2007 at 05:28 PM.
Old 07-22-2007, 05:52 PM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Yep logical partitions must be continuous and that is exactly what should happen.

You can, like kilgoretrout already pointed out, revise /etc/lilo.conf and also /etc/fstab to change all hdc12 to hdc13.

You seem to have another Linux if that is the case just use it to restore Lilo. Any Live CD can do it too. Steps are as per Task B3 in the last link of my signature.
Old 07-24-2007, 05:40 AM   #4
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34

Name Flags Part Type FS Type [Label] Size (MB)
hdc1 Primary OpenBSD 9999.88
hdc2 Primary Linux ReiserFS 9999.88
hdc3 Primary Linux ReiserFS 9999.88
hdc5 Logical Linux ReiserFS 1999.88
hdc6 Logical Linux ext3 100.13
hdc7 Logical Linux swap 1000.20
hdc8 Logical Linux ReiserFS 1000.20
hdc9 Logical Linux ReiserFS 1000.20
hdc10 Logical Linux ReiserFS 4999.94
hdc11 Logical Linux ReiserFS 9999.88
hdc13 Logical Linux 14926.53
hdc12 Logical Linux ReiserFS 14999.82

hey guys. . FDISK saves the day. . .the BOLD one is the newly created partition. .. my VL 5.1 SOHO in /dev/hdc12 was not moved or altered


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
Creating a partition using cfdisk lel800 Linux - Newbie 4 11-27-2006 12:21 PM
Partition types in cfdisk davemar Linux - General 1 01-12-2005 07:19 AM
CFDISK Partition Manager tycapel7 Linux - Software 1 06-07-2004 06:31 PM
partition with cfdisk.. but no permission!! r3dxP Linux - Software 2 05-27-2004 02:15 PM
Extra Partition after cfdisk SBarretDolph Linux - Newbie 1 01-19-2004 11:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration