LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-17-2012, 05:50 AM   #1
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Rep: Reputation: Disabled
cfdisk changes Drive Letter


I created a new LVM using cfdisk on RHEL.

But it assigned /dev/sda8 to that new partition which was earlier assigned to the boot partition.
And boot partition is given the new device name.

So the problem was when I rebooted the system, grub showed error 17 with no boot menu or anything.

I want to know why cfdisk does this and how can I overcome such situation?
 
Old 10-17-2012, 06:40 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
I
Quote:
want to know why cfdisk does this
It is really difficult to give a right answer to a vague question; whilst you ought have given us more information, e.g. the output of fdisk -l or something that tells us the drive map. IF a logical volume is named that way it is usually because the program follows its own counting, or, unaware, you may have issued certain parameter to that effect.

As to why cfdisk behaves that way, a question about the inner working of the software, Kevin Martin is the author of the program you may contact him here: Kevin E. Martin (martin@cs.unc.edu)


Quote:
and how can I overcome such situation?
Delete the new logical volume and try again.
It is advisable to make bootable partitions before the Fourth (4th) partition (sda1, sda2, sda3) else, make it immediately after that (sda5, or sda6).

Hope that helps.

---------- Post added 10-17-12 at 05:40 ----------

I
Quote:
want to know why cfdisk does this
It is really difficult to give a right answer to a vague question; whilst you ought have given us more information, e.g. the output of fdisk -l or something that tells us the drive map. IF a logical volume is named that way it is usually because the program follows its own counting, or, unaware, you may have issued certain parameter to that effect.

As to why cfdisk behaves that way, a question about the inner working of the software, Kevin Martin is the author of the program you may contact him here: Kevin E. Martin (martin@cs.unc.edu)


Quote:
and how can I overcome such situation?
Delete the new logical volume and try again.
It is advisable to make bootable partitions before the Fourth (4th) partition (sda1, sda2, sda3) else, make it immediately after that (sda5, or sda6).

Hope that helps.
 
  


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
How to get Drive letter and serial number of thumb drive in linux? manucng Linux - Newbie 3 02-05-2010 03:25 AM
Will cfdisk wipe whole drive, or just partition? jmite Linux - Newbie 1 06-10-2008 12:51 AM
cfdisk and 2nd IDE drive dave`2005 Linux - Hardware 1 11-07-2007 04:27 PM
Repartitioning hard drive through cfdisk shivkiyer Linux - Software 22 07-19-2007 12:02 PM
Can't run CFDISK on a SATA Drive Chris.Marsh Slackware - Installation 1 09-13-2006 03:08 AM


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