Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-29-2004, 08:48 PM   #1
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.
Old 10-29-2004, 09:22 PM   #2
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, 11:44 PM   #3
Registered: Aug 2002
Posts: 17,955

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

See below
Old 10-30-2004, 08:22 AM   #4
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.



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

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration