LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2007, 11:57 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Rep: Reputation: Disabled
can Linux re-letter my Windows partition?


Because the first partition on my new hard drive, a clone of the Windows partition on the old drive, was C:, the new partition I created (mostly because the Windows installation on the cloned partition was screwed up and I couldn't fix it) had to be called F. This is a trivial annoyance, but now that I have copied what I want from the cloned partition and deleted it, I want the new partition relabeled C, but Windows refuses (as I expected) to relabel it. Can I do that from Linux?
I suppose the drive's cloning software could probably clone this F partition onto a new C partition, but simply relettering F would be faster...
 
Old 08-27-2007, 12:48 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I wouldn't mess with the letter of the root partition. The thing is that this letter is all over your registry - if you simply rename the partition but the registry doesn't go with it, you'll end up with a system that totally freaks out because it can't find (parts of) itself anymore. This is pretty much why windows is refusing to have the letter changed. Maybe there is some windows specific software that can take care of it (although I doubt it) but Linux is powerless in this case; changing a letter is one thing, editing a windows registry at the same time is a completely different one.
 
Old 08-27-2007, 02:23 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Linux does not use "C" or "D" drive and so it can never do what you want. Operating systems respect each other territory and do not interfere with such thing at all.

However if you want "F" to boot up as a "C" you can do so by altering the boot disk order.

(1) Physically - just swap the electrical connection (when the PC is switched off) to reversed the "C" and "F" disks.

or

(2) Tell the Bios the first bootable hard disk is the one with "F" Windows partition inside.

or

(3) Use a Linux boot loader to hide the all Windows partitions leaving the first MS partition available for booting to be the one with "F" drive. You need to tell the Linux boot loader to swap the disk order on-the-fly between "C" and "F" disks. Either Lilo or Grub can do this sort of thing for you. Details in the last link of my signature.

JUst use any one from the above and you "F" will boot up as a "C" drive.
 
Old 08-27-2007, 05:28 PM   #4
rivalarrival
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
If "F" is your boot partition, you're probably not going to be able to relabel it (easily) without reinstalling windows. Your windows registry will refer to "F" all over the place - if you suddenly change it to "C" then you're going to break all those references and I doubt you'll even be able to boot.
 
Old 08-27-2007, 05:52 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I boot 3 Dos and 5 Windows and won't give a toss what the drive letter is. The technique is as described in Post #3.
 
Old 08-28-2007, 07:13 AM   #6
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix, antiX
Posts: 252

Rep: Reputation: 73
You can clone a partition with "clonezilla", that cames in the "Gparted+Clonezilla" LiveCD.
But this has probably nothing to do with the windows drive letters.

In the newer windows versions (since windows 2000 and newer versions) you can change the drive letters in the "disk management" utility. In older versions it isn't possible.
 
Old 08-28-2007, 07:36 AM   #7
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,372

Original Poster
Rep: Reputation: Disabled
No, not particularly, and my new hard drive has its own cloning software. Thank you, though.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to move directories based on first letter to a new directory of that letter tworkemon Linux - Newbie 8 01-30-2007 07:18 PM
Deleted linux partition, how to boot Windows partition? mysak Linux - General 3 12-14-2005 04:22 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
Partition drive letter cannot be identified? colly Linux - General 7 06-21-2004 11:03 AM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:26 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
Open Source Consulting | Domain Registration