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 04-29-2008, 12:26 PM   #1
seish
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Transferring my Debian to new hard drive and merging partitions


Hey guyz

I have a quick question about changing to a new hard drive.

I have two partitions, "/" and "/opt" on my old hard drive.
I want to use my new hard drive for debian but I want to be able to choose partition
(say I want one big partition for the whole hdd for example).



Can I also choose between other filesystems?
i.e. if reiserfs is better for my files then ext3.
(if you have a good idea on partitioning my 160 gigs feel free to tell me, i have 1 gig RAM so I might need a swap partition)

Last, but not least, I want to have a 10 gig windows partition on my old hard drive where linux is now,
but I'm not sure how to configure lilo since windows will erase MBR

I'm not sure how to set up my PC to read my new partition's MBR first.

Here is a quick summary:

1) Partition my new 160 gig hdd
2)copy linux from old 80 gig to new 160 gig HDD
3)Install windows on my 80 gig one
4) make them both bootable


Thanx very much folks

Last edited by seish; 04-29-2008 at 12:29 PM. Reason: grammar
 
Old 05-01-2008, 03:19 PM   #2
veepo
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
I think it is usually better not to have one large partition (like 160GB) if there is no special reason for that. Create partition for the root (/) and swap at least, but you could let some unpartitioned space in case you need an extra partition in future. What kind of partitions you need usually depends from what is the usage of the computer. I think reiser was developed for webservers that handles a lot of small files but it's ok for root filesystem too if you are not willing to use ext3 for some reason.

After creating the new partitions, you could just use live linux cd to copy all the files from the old hdd to the new one, modify bootloader and fstab if needed (if adding new hdd makes the new root partition be /dev/sda1 instead of /dev/hda1, for example) and the system should be ready to boot.

Then install windows on the old hdd as you like. After that, you should only need to re-install the bootloader
 
  


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
Transferring OS to new hard drive Lastomega Linux - Newbie 5 08-24-2006 02:22 PM
suggestions Debian hard drive partitions bearbigears Linux - Newbie 8 03-02-2005 04:23 PM
Transferring OS to new Hard Drive thenebula Linux - Newbie 6 10-29-2004 10:06 PM
Transferring build to new hard drive NickC Mandriva 16 07-09-2004 09:59 PM
Merging empty hard drive with root partion on ext3? crayolarx Linux - General 11 03-06-2004 04:29 PM


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