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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
10-15-2009, 07:36 PM
|
#1
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Rep: 
|
i want to change the format of my root partition (/dev/hda1)
without losing data.
got any ideas?
BUMP?
Last edited by XavierP; 10-17-2009 at 11:31 AM.
|
|
|
|
10-15-2009, 10:45 PM
|
#2
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Quote:
Originally Posted by smeezekitty
BUMP?
|
Zero-reply threads are automatically "bumped" several times. You have only succeeded in taking your question off of the zero-reply list, so it will no longer get bumped automatically. Also, as you only posted the question yesterday, give people a chance to answer-- not everyone is online when you are, nor are at least half of our members even necessarily awake at any given time, as members are from all around the planet  so time-zone differences apply.
You might find that, instead of waiting for people to ask "What is it now, and what do you want to change it to?", you may get better results if you tell folks what file system is on the drive now, and what you wish to change it to.
As far as I know, unless it is one of the Ext* formats, you will have the most success and least trouble by simply backing the data up somewhere, and re/formatting a/the new partition, and putting the data back.
If it IS one of the Ext file systems, such as Ext2, you could upgrade it to Ext3 or Ext4.
Regards,
Sasha
Last edited by GrapefruiTgirl; 10-15-2009 at 10:47 PM.
|
|
|
|
10-15-2009, 10:48 PM
|
#3
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
it is ext2 and i am changing it to something else but not quite sure what
Quote:
|
Zero-reply threads are automatically "bumped" several times. You have only succeeded in taking your question off of the zero-reply list, so it will no longer get bumbed automatically.
|
i dont get it.
i have a bad habit of bumping after a few hours if i dont get a response and am ver persistent about the problem.
|
|
|
|
10-15-2009, 10:53 PM
|
#4
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Quote:
Originally Posted by smeezekitty
i dont get it.
|
*what* exactly 'don't you get'?
Quote:
|
i have a bad habit of bumping after a few hours if i dont get a response and am ver persistent about the problem.
|
That is a habit you will want to get out of here on LQ, for two reasons:
1) Impatience will not win you any friends here; people don't care how urgent your problem is, nor how persistent you are, and this sort of behavior will cause folks to ignore you, not help you faster.
2) As mentioned, threads with zero-replies, i.e., a question which has not yet had a reply, will automatically get 'bumped' several times to the top of the queue, before finally being allowed to drift into oblivion. Therefore, it is not necessary, nor etiquetically correct, to bump threads.
Cheers,
Sasha
|
|
|
|
10-15-2009, 11:17 PM
|
#5
|
|
Guru
Registered: Aug 2005
Posts: 9,557
|
back up your data and reformat
that is how .
|
|
|
|
10-15-2009, 11:21 PM
|
#6
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
Quote:
Originally Posted by John VV
back up your data and reformat
that is how .
|
how do you do it on the root partition as in /
|
|
|
|
10-15-2009, 11:51 PM
|
#7
|
|
Member
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Rep: 
|
cp -a -x /* /path/your/backupdrv
if you don't have back up room and all important files are already safe, just reinstall
Last edited by lumak; 10-15-2009 at 11:56 PM.
|
|
|
|
10-16-2009, 12:02 AM
|
#8
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
Quote:
Originally Posted by lumak
cp -a -x /* /path/your/backupdrv
if you don't have back up room and all important files are already safe, just reinstall
|
i am copying / to /mnt/hdb1
but wont i go into an infinite loop when it gets to /mnt/hdb1
coping the files into themselves?
|
|
|
|
10-16-2009, 12:16 AM
|
#9
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Perhaps lumak was just exaggerating to make a point?
What's relevant here is that there is no need to copy **everything** if you are going to re-install the OS. If you are trying to keep the existing OS, but on a different filesystem format, then copying **everything** and then copying it back is about the most difficult method I can imagine.
Let's back off for a moment: What is the context of all this---ie what problem are you trying to solve?
|
|
|
|
10-16-2009, 12:18 AM
|
#10
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
no problem i just dont like the ext file system
|
|
|
|
10-16-2009, 12:19 AM
|
#11
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,358
|
Quote:
Originally Posted by smeezekitty
i am copying / to /mnt/hdb1
but wont i go into an infinite loop when it gets to /mnt/hdb1
coping the files into themselves?
|
You may but the command will not because of the cp -x option, detailed in the man page.
|
|
|
|
10-16-2009, 12:22 AM
|
#12
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
how do i know if *ALL* of it is copied?
i do not want to loose it all
|
|
|
|
10-16-2009, 12:28 AM
|
#13
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
Since you really did not completely address my last questions and comments, allow me to suggest a plan:
1. Backup your DATA ONLY somewhere. (eg external USB drive)
2. Reinstall the OS, picking your desired filesystem format.
3. Copy your data back into your /home directory.
|
|
|
|
10-16-2009, 12:34 AM
|
#14
|
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,136
Original Poster
Rep: 
|
Quote:
Originally Posted by pixellany
Since you really did not completely address my last questions and comments, allow me to suggest a plan:
1. Backup your DATA ONLY somewhere. (eg external USB drive)
2. Reinstall the OS, picking your desired filesystem format.
3. Copy your data back into your /home directory.
|
not so good
i would rather keep evreything intact and reinstall the bootloader
|
|
|
|
10-16-2009, 12:37 AM
|
#15
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
I'm afraid that you are making things too difficult, but: Good Luck!
Regardless of what else you do, get your DATA safely backed up FIRST.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|