LinuxQuestions.org
Review your favorite Linux distribution.
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-29-2004, 07:48 PM   #1
DebNoob58
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
moving /home to new dev


Working with Debian Sarge. My /home dir is located on hdb, and I need to move it to hda, because hdb is showing clear signs of imminent self-destruction.

Here's the issue(s):

- Currently, hda5 (preferred target of /home) is ntfs, and even as root I have only read privs.

So I need to:

- Gain write privs to hda5, rewrite the partition, and move /home to that point.

The above is semi-educated guessing. Any correction, where necessary, in my diagnosis of both problem & solution would be much appreciated. Also, some guidance on how to proceed would be great.

Thanks in advance.
dn58
 
Old 10-29-2004, 08:22 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Just to make sure, you don't want your NTFS there anymore? I'll gather that's what you mean by rewrite partition.

You only have write for a very very good reason, that's all that the kernel drivers support safely (and writing over a file without changing it's size lately too)
Just start up your favourite mkfs.<blah> to make yourself a new parition. (like mkreiserfs, or mkfs.ext3, so on)

If it tells you to delete the partition you had before, use fdisk to do so (man fdisk), or get cfdisk, which has a nice graphical frontend for the commandline-flag-shy. I've never had an NTFS parititon to convert, so I don't know any specific issues, this should definitely work though.

The issue with write permissions is just to the partition data itself, you can do anyhting to a disk as root
 
Old 10-29-2004, 10:44 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
You should reformat hda5 to a linux filesystem. Use cfdisk or fdisk to change partition types and then create a filesystem.

See below
http://www-106.ibm.com/developerwork...-partplan.html
 
Old 10-30-2004, 07:22 AM   #4
DebNoob58
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you both. By some mixture of solid, clear advice & sheer luck, it seems to have worked. I can't adequately express in text how very surprised I am.

dn58
 
  


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
need help moving home shaggystyle Linux - Hardware 15 09-01-2004 12:31 AM
moving /home to / abu_abdullaah Linux - Newbie 3 07-18-2004 01:15 PM
Moving /home xodeus Slackware 7 10-06-2003 03:33 PM
Moving /home to a new harddrive vwaldoguy Linux - Hardware 1 05-26-2003 03:37 AM
Moving/using new /home partition concoran Linux - General 1 05-20-2002 09:32 PM


All times are GMT -5. The time now is 03:57 AM.

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