LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-07-2008, 07:48 PM   #1
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
hard drive help


i just made the switch to linux, but might have been unsuccessful. my old hard drive was windows and got corrupted, so i wanted linux on a new harddrive so i could pull files off the old one.

i had a 500 gigabyte harddrive, and installed windows first so i could dual boot. I thought i gave it only 15 gigabytes. i then installed Ubuntu fine and have been running it for about a day.
i hooked up my old hard drive to transfer data. i started pulling off songs and putting them in my music folder on ubuntu.
apparently i only have about 15 gigs of storage on linux...
i ran partition program and i see that i have 450 gbs of NTFS space, 436MB of it is free space.

i dont know what drive ubuntu is on.

how do i access all this other space? is NTFS the wrong format?

what do i do? i really don't want to reinstall all of this again

Last edited by paintedbull; 12-07-2008 at 07:53 PM.
 
Old 12-07-2008, 07:49 PM   #2
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
also, i'm not sure if it was a problem that i installed ubuntu using WuBi instead of a boot disk, because WuBi is based in windows...please let me know
 
Old 12-07-2008, 08:01 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
Breathe. Breathe. Don't panic.

I'm afraid that you've kinda shot yourself in the foot by using Wubi. I don't have any experience with it, but Wiki says:
Quote:
It is not a virtual machine, but rather, it creates a stand-alone installation within a loopmounted device, also known as a disk image, like Topologilinux does. It is not a Linux distribution of its own, but rather an installer for Ubuntu.
In English, this says that there is sort of a sandbox for Ubuntu, and it doesn't have any of its own filesystems outside of that sandbox. The reason you have a bit NTFS drive is probably because that's what you made with Windows.

Ubuntu isn't really all that hard to install in its own partition. Just be careful that you don't install it over Windows, and that you don't misuse the partitioning software and destroy either Windows or your data. To give you more help, we would probably want to see the output from these commands:
Code:
df
mount
sudo fdisk -l
 
Old 12-07-2008, 08:10 PM   #4
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/host/ubuntu/disks/root.disk
13457172 5230408 7543172 41% /
tmpfs 1035840 0 1035840 0% /lib/init/rw
varrun 1035840 216 1035624 1% /var/run
varlock 1035840 0 1035840 0% /var/lock
udev 1035840 2868 1032972 1% /dev
tmpfs 1035840 464 1035376 1% /dev/shm
/dev/sda5 472648332 15469568 457178764 4% /host
lrm 1035840 2000 1033840 1% /lib/modules/2.6.27-9-generic/volatile
/dev/sda1 15727600 3958748 11768852 26% /media/disk
/dev/sdb1 134205088 125369064 8836024 94% /media/disk-1
paintedbull@ubuntu:~$ mount
/host/ubuntu/disks/root.disk on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda5 on /host type fuseblk (rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096)
lrm on /lib/modules/2.6.27-9-generic/volatile type tmpfs (rw,mode=755)
/host/ubuntu/disks/boot on /boot type none (rw,bind)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/paintedbull/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=paintedbull)
/dev/sda1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb1 on /media/disk-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
paintedbull@ubuntu:~$ sudo fdisk -l
 
Old 12-07-2008, 08:15 PM   #5
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02 View Post
Breathe. Breathe. Don't panic.
hehe thanks man,
 
Old 12-07-2008, 08:32 PM   #6
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
also, how do i unpartition the 450-odd gbs of ntfs i've got now?
 
Old 12-07-2008, 08:35 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
OK, so I guess Wiki is right, you've got a big whomping NTFS drive.

So, I guess you need to decide whether this will do what you want to do in the long run. If you will want to share the data between Windows and Linux, then leaving it as-is would be a good idea. Plus you won't have to reinstall.

This line ("/dev/sda5 on /host type fuseblk") says that "/host" is the mount point for your /dev/sda5 partition using fuseblk (filesystem in user space) and is NTFS. This line ("/dev/sda5 472648332 15469568 457178764 4% /host") says that 4% of your 450G partition is in use and you have more or less 457178764 1K blocks available to you.

You should be able to look at what is on "/host" simply by typing "ls /host". You should be able to make directories on it and copy files to it as if it were any other type of filesystem. Someone else will have to tell you whether there are any issues with NTFS on Linux, such as permissions etc. I've never used it.
 
Old 12-07-2008, 08:38 PM   #8
paintedbull
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02 View Post
OK, so I guess Wiki is right, you've got a big whomping NTFS drive.

So, I guess you need to decide whether this will do what you want to do in the long run. If you will want to share the data between Windows and Linux, then leaving it as-is would be a good idea. Plus you won't have to reinstall.

This line ("/dev/sda5 on /host type fuseblk") says that "/host" is the mount point for your /dev/sda5 partition using fuseblk (filesystem in user space) and is NTFS. This line ("/dev/sda5 472648332 15469568 457178764 4% /host") says that 4% of your 450G partition is in use and you have more or less 457178764 1K blocks available to you.

You should be able to look at what is on "/host" simply by typing "ls /host". You should be able to make directories on it and copy files to it as if it were any other type of filesystem. Someone else will have to tell you whether there are any issues with NTFS on Linux, such as permissions etc. I've never used it.
im thinking about just restarting completely so this is all a bit less confusing, using the install disk this time.
 
Old 12-07-2008, 08:42 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by paintedbull View Post
also, how do i unpartition the 450-odd gbs of ntfs i've got now?
OK, I'll try to glean some more info from what you posted. BTW, please use code tags to separate this stuff out when posting output. For example (after removing dross):
Code:
~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/host/ubuntu/disks/root.disk 13457172 5230408 7543172 41% /
/dev/sda5 472648332 15469568 457178764 4% /host
I hope I'm interpreting this correctly to say that /dev/sda5 is your disk partition. On that, you have "/host" mounted. In the "/host/ubuntu/disks" directory, you have "root.disk" which I take to be the Linux "sandbox". If my understanding is correct, then you can't delete the partition without deleting Ubuntu, but you could resize it. As I said in my other post, consider what your real goals are with this. If you want to share it, then you probably want to leave it as is. If you don't want to share, then reinstall Ubuntu "for real" and repartition the drive during the install; taking care not to disturb the Windows partition.

BTW, if it seems that this is a learning experience for me --- it is. I've never been involved with a Wubi based Linux before.
 
  


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
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 10:19 AM
Clone a dual booting IDE hard drive to a SATA hard drive namida12 Linux - Distributions 1 07-14-2008 11:01 AM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 05:32 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM


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