LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-04-2007, 12:44 PM   #1
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Rep: Reputation: 15
Viewing windows partition from kubuntu 6.60 live cd


A mate of mine has had a windows crash and needs to recover his documents, I thought about using kubuntu live cd to do this. I thought it would flash it up right infront of my eyes but it didn't. Any idea how this is done?

Mat
 
Old 02-04-2007, 01:29 PM   #2
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
I have sorted this problem out, please remove this post
 
Old 02-07-2007, 04:52 AM   #3
btolle
LQ Newbie
 
Registered: Jan 2007
Location: Jasper, TX
Distribution: Ubuntu Dapper Drake, Linspire
Posts: 2

Rep: Reputation: 0
Lightbulb

Better yet, tell us how you solved the problem, you might help someone else who has the same problem.
 
Old 02-07-2007, 05:17 AM   #4
netstrider
Member
 
Registered: Jan 2007
Location: South Africa
Posts: 72

Rep: Reputation: 15
I think I can explain it here briefly

You will need to determine on which drive your Windows installation is or on which drive it is that you want to recover data from. This is if you don't know already though, so to do this type fdisk -l or sudo fdisk -l (On other distributions you might require to su to root).

Mine in particular looks like this:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/sda2            2551       11876    74911095    f  W95 Ext'd (LBA)
/dev/sda3           11877       14444    20627460   83  Linux
/dev/sda4           14445       14593     1196842+  82  Linux swap / Solaris
/dev/sda5            2551       11876    74911063+   7  HPFS/NTFS

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           11983       14593    20972857+  83  Linux
/dev/sdb2               2       11982    96237382+   f  W95 Ext'd (LBA)
/dev/sdb5               2       11982    96237351    7  HPFS/NTFS
As we can see sda1, sda5 and sdb5 are all NTFS drives, so now we need to mount these and make them readable. I know sda1 for me is my 'C' drive on Windows and sdb5 is 'D' and sda5 is 'E'. This doesn't really matter but for convenience I'm going to mount them like that.

so: sudo mkdir /mnt/Win_C /mnt/Win_D /mnt/Win_E

This will create your mountpoints. Now let's edit the fstab so that these partitions are permanently mounted.

Open up your fstab as root user with your favorite text editor: sudo gedit /etc/fstab

Code:
/dev/sda1       /mnt/Win_C       ntfs        defaults,umask=0 0 0
/dev/sdb5       /mnt/Win_D       ntfs        defaults,umask=0 0 0
/dev/sda5       /mnt/Win_E       ntfs        defaults,umask=0 0 0
That's how I added mine, you can just change yours according to your HDD's. If you have IDE hard drives it will be /dev/hda and not sda . Now for the final part:

sudo mount -a

That will mount all your drives in fstab. Now you can browse to /mnt/Win_C or whichever you created with your file browser (Konqueror/Nautilus/Thunar) or do ls /mnt/Win_C to see whether you can see the files 8-)

Hope this helps someone sometime

Last edited by netstrider; 02-07-2007 at 05:20 AM.
 
Old 02-11-2007, 06:19 PM   #5
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
It was even easier than that. It was a simple case of RTFM. I went on to the kubuntu website and read their introductory PDF, it had simple instructions, how to get the connection for NTFS as FAT32.

Mat
 
Old 02-11-2007, 06:20 PM   #6
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
I will add, that it was one or two lines, really VERY simple, even I followed it!!!

Mat
 
  


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
Viewing the windows partition vital_101 Mandriva 5 09-14-2005 09:16 PM
program for viewing ext2 partition on windows tintilin Linux - Software 1 12-05-2004 07:09 AM
VIEWING LINUX partition in windows rajasekar Linux - General 2 10-04-2004 05:01 AM
problems viewing files off my windows partition Hockeyfan Linux - Software 2 05-15-2004 04:03 PM
Viewing windows partition in RH9 siphi Red Hat 2 02-04-2004 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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