LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2011, 09:37 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Is there a bug in CFDISK ? I cannot quit without losing changes?


After I write the partition table CFDISK does not exit. If I chose quit or Q I lose all my changes.
I am switching back to slack and I have done this many times before and dont recall ever having this problem.
How do I exit and save my changes?
I read a post about yes not registering because on the screen all you see is ye, the s is cutoff and that is the same thing I have. Could that be the problem? If it is a graphics issue I would think that the whole word yes would still register even though you cannot see the s.
 
Old 07-13-2011, 09:41 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,175
Blog Entries: 24

Rep: Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835
Are you telling cfdisk to "write" your changes? It's in the menu at the bottom of the screen.
 
Old 07-13-2011, 09:47 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by frankbell View Post
Are you telling cfdisk to "write" your changes? It's in the menu at the bottom of the screen.
YES, I am typing in "yes" when prompted but the s is not showing on the screen.
 
Old 07-13-2011, 10:42 PM   #4
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Somehow I got it to work, I am not entirely sure how but I think I hit ESC. then q. I dont remember ever having a problem with CFDISK through all the times I have installed slack.
 
Old 07-14-2011, 03:58 AM   #5
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 123Reputation: 123
I switched to FDISK when partitioning since CFDISK has trouble dealing with many types of disks. In particular, when dealing with modern dual-boot systems, CFDISK tends to abort without even looking at the drive. (Seems to be something to do with the micro$oft created partition boundaries).
 
Old 07-14-2011, 04:53 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,808
Blog Entries: 58

Rep: Reputation: Disabled
If all else fails, try a partedmagic live CD.
http://partedmagic.com/doku.php?id=downloads
 
Old 07-14-2011, 06:26 AM   #7
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.2 64 Multi-Lib
Posts: 522

Rep: Reputation: 210Reputation: 210Reputation: 210
Or just use parted and its GUI friend gparted. I like to consider myself a command-line freak, but even I have to admire the friendly way the GUI version works. And when you're dealing with something as potentially dangerous as formatting or partitioning disks, just maybe the GUI is the best way to go. I think these are all available as slackbuilds.
 
Old 07-14-2011, 09:47 AM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 5,581

Rep: Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632Reputation: 1632
I've seen that before where the s of yes goes off the screen when setting up partitions with cfdisk. I just type in the s even if I cannot see it and press enter. After that I make sure to write the changes to disk. On the odd occasion that I cannot use cfdisk then I'll use fdisk.
 
Old 07-14-2011, 03:15 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
What I do to make sure things work is I run cfdisk, write the changes, reboot, check cfdisk again (they should be applied now).
 
Old 07-14-2011, 04:10 PM   #10
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 347

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by H_TeXMeX_H View Post
What I do to make sure things work is I run cfdisk, write the changes, reboot, check cfdisk again (they should be applied now).
partprobe (from parted package) allows you to avoid reboot by requesting kernel to re-read partition table. Thought I'd mention it here since I find it very handy.
 
1 members found this post helpful.
Old 07-14-2011, 08:47 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,175
Blog Entries: 24

Rep: Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835Reputation: 3835
Quote:
Originally Posted by hitest View Post
I've seen that before where the s of yes goes off the screen when setting up partitions with cfdisk. I just type in the s even if I cannot see it and press enter.
I've also seen this, but I've not yet encountered a situation in which CFDISK failed to write the changes.
 
  


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
Bug#314905 bug fix for Ubuntu and gcc is 4.4.1 bostan Linux - General 1 12-11-2010 01:35 PM
losing DSL, losing GRUB controller andreas_skw Linux - Newbie 4 06-14-2008 02:36 AM
losing DSL, losing GRUB controller andreas_skw Linux - Newbie 1 06-10-2008 12:46 PM
LXer: 2008 CES: Bug Labs Introduces BUG, BUGbase. So Cool! LXer Syndicated Linux News 0 01-09-2008 02:21 AM
2038 bug-Is Debian Bug-Proof? deepclutch Debian 1 08-02-2007 11:59 AM

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

All times are GMT -5. The time now is 11:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration