I had a problem with my Ubuntu install, and I need to uninstall it. However, I have one folder on there with an important assignment in it that I'd like to keep still. I can still get into Ubuntu with the command line, and it was installed beside Windows so I had access to my Windows partition as well. My question is - is it possible to access the Windows partition using the command line?
1 Answer
First you need to know the partition your Windows is. For that you can use the command
cat /proc/partitions
Then you need to make a folder, where the partition will be mounted to:
mkdir /mnt/win
Next
mount /dev/*** /mnt/win
Then
cd /mnt/win
-
If the windows partition was labelled, you can also use
/dev/disk/by-label/*
instead of/dev/sdXY
. (usels -lA /dev/disk/by-label
to get a list or use tab-completion on/dev/disk/by-label/
) May 15, 2011 at 20:58 -
sudo fdisk -l /dev/sda
(orsdb
... etc. for you second drive) is really more useful thancat /proc/partitions
.– loevborgMay 15, 2011 at 21:40