LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-31-2004, 08:45 PM   #1
shirtboy
LQ Newbie
 
Registered: Oct 2003
Location: Chelmsford, MA
Distribution: Mandrake 9.1, Redhat 9.0
Posts: 7

Rep: Reputation: 0
Hard drive switch -- What to do?


Hi, here's my problem. In my RH9 computer, I have an 8 gb hard drive that came with the computer, and a 80 gb hard drive I installed (this was in November). I recently bought a TiVo, and plan to upgrade it next weekend with a 160 gb hard drive I bought. I also want to put the 80 gb from my computer into my TiVo, and replace it with the 40 gb from the TiVo.

I just checked, and according to a df, hda2 is only 3% in use, so space on the 40gb is not a problem. I really don't want to reinstall -- despite the low hard drive usage, I've done alot of work to it over the past few months.

All I have to do is somehow clean out that 80 gb without losing the information, format it, do all my required TiVo stuff (which I don't even want to start thinking about), then put the 40 gb back in.

Does this all require repartitioning? If so, I may as well just reformat and start over again. Either way, I'm just wondering how I would go about all of this.

Thanks alot!
 
Old 01-31-2004, 09:04 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
it depends.... how much free space do you have on the 8GB hd..., if there is enough space on the 8GB, then you could always copy the files off the 80, install the 40GB, partition and format it as needed, then move the files back.

if not, you could always use the 160GB drive temporarily to hold the files on your HD while you perform the swap, although there is not quite enough information provided to really help, perhaps you could provide the following
you said the computer had an 8 GB and 80? perhaps you could post the output of the 'df' command as well the output of 'mount'
(df -h > file.txt; mount >> file.txt, then paste the contents of file.txt into your reply) that would help alot to determine just how your HDs are partitioned, and how best to go about moving their contents to another HD.
 
Old 01-31-2004, 09:40 PM   #3
shirtboy
LQ Newbie
 
Registered: Oct 2003
Location: Chelmsford, MA
Distribution: Mandrake 9.1, Redhat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Good point!

Filesystem Size Used Avail Use% Mounted on
/dev/hda2 73G 1.9G 68G 3% /
/dev/hda1 99M 9.0M 85M 10% /boot
none 157M 0 157M 0% /dev/shm


/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

Thanks alot.
 
  


Reply



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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Going to replace hard drive - should I switch distro too? FiveFlat Linux - General 17 05-05-2005 01:55 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 01:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM
Being able to switch between floppy drive and cdrom drive. apathas Linux - Laptop and Netbook 6 11-09-2003 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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