Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello....
I forgot my window password and i also have open suse linux installed in my system. Now I want to get my window data. how can I get data. If anyone knows the please help me.
See if your windows partition is mounted somewhere on Suse. Look under the /mnt and /media directories to see if you can find the Windwos files and then you can copy the files over to Suse or burn them to make a backup.
If it's not mounted anywhere, you can create a mount point and mount it yourself. Log in as root and do this:
mkdir /mnt/windows
mount /dev/hda1 /mnt/windows
Just make sure that /dev/hda1 is really the Windows partition, and if not - then change accordingly for your system.
And welcome to LQ!
Hello....
I forgot my window password and i also have open suse linux installed in my system. Now I want to get my window data. how can I get data. If anyone knows the please help me.
thanks
swati goel
Hi Swati,
First use fdisk -l to check whether windows partitions are accessible or not.
You can also check /etc/grub.conf file to check if any password check is there, or if you can just remove the password string at all. You will find that under 'others' section in the same file.
Otherwise you can create a directory and mount the windows partitions, as told by UDI as well, i.e, mount /dev/hda1 /mnt/<ur directory>
But make sure that all these things can be done by root only, so keep this mind.
I have mounted as suggested by you. Now there is windows option in /mnt but it is not accessable. There is an error that you dont have permission to access content of folders.
You could log in as root to access the files. Do you want to get the data to save it?
I assume you have no entry in /etc/fstab file for windows to have the windows accessible on re-boot but if you forgot your password for windows, I imagine you will want to save files and re-install??
You have successfully created a directory under /mnt - and mounted Windows to it. Now I guess you are trying to read from it as a regular user and you can't access /mnt/windows... Log in as root again and run this command:
chmod a+r /mnt/windows
This will grant read permissions on /mnt/windows to everyone. I hope than now you can copy the data over (you can use the GUI for that - and even burn the data to a CD).
Note that after you re-install Windows, it will overwrite the MBR (that's the Master Boot Record) and you won't be able to boot Linux any more because the GRUB menu won't show up. So make sure your backed up data is on some external medium like CD or USB stick (don't leave it on the Linux partition because Windows can't read Linux and you won't have access to your backups).
It will give you a good general idea of what you are doing here - or what you need to do It's not really specific to Gentoo but rather a good explanation of mounting windows partitions and the common options of doing so.
If you have more than one windows drive (read: partition), you will have to mount each one of them individually in order to show up under linux.
Last edited by General Failure; 05-02-2009 at 03:07 AM.
swatigoel1206 - in your mount command you have to specify the drive and partition that your Windows files are on. If you have more than 1 Windows drive then you'll need to know on which drive and which partition your files are on exactly.
/dev/sda represents the first hard disk, and /dev/sda1 represents the first partition on the first hard disk. Most computers have 1 hard disk in them - so the Windows drives are not really additional hard disks, just additional partitions. Your other Windows drive can be /dev/sda5 for example (sda5 is the first LOGICAL partition which is what drive D: typically is - but it is not a universal rule so you have to check what the case is for your computer). If you really do have 2 hard disks in your computer then the Windows drive can be on sdb somewhere (on /dev/sdb1 or /dev/sdb2 or so on...).
If you don't know the partition layout of your disk, you can log in as root and run this command:
fdisk -l /dev/sda
If you need help with reading the output of the above command - post the output here and we'll tell you.
I got partitions of windows..when i was mounted, contents of that partition exist in windows, I was copying them in pen drive. but these are not pasted in pen drive..
I m not getting why it is so.
I have open suse 11 installed in another system. In that windows partitions are mounted with drives name like C D E...
but in open suse 10.2 in which i m currently using partitions are not mounted with drive name but with content of drives..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.