LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2011, 09:03 AM   #1
LittlePenguin
Member
 
Registered: Jan 2011
Posts: 52

Rep: Reputation: 3
My HDD's hate each other...


I got 2 OS's right know, Debian Lenny in HDD1 and Windows 7 in HDD 2, everything works ok so far.

But, when Im running W7 I only have 1 HDD visible, W7 one, and inside Debian is the same...

Is there a way to "copy" data from one to another?

Thx in advance.
 
Old 01-19-2011, 10:12 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by LittlePenguin View Post
I got 2 OS's right know, Debian Lenny in HDD1 and Windows 7 in HDD 2, everything works ok so far.
But, when Im running W7 I only have 1 HDD visible, W7 one, and inside Debian is the same...
Is there a way to "copy" data from one to another?
Thx in advance.
Please spell your words out.

And yes, there is. Since you're using two different hard drives, how are you booting? Do you have two menu options in GRUB, or are you changing BIOS boot order? Either way, this can be accomplished in Linux...not sure about Windows. First, type in "df -kPH". You should see your partitions as (for example) "/dev/sda3 27G 13G 49% /". This tells you your current hard drive is /dev/sda. Do an "ls /dev/sd*"...if you see devices like "/dev/sdb1", chances are that's your Windows drive.

Try typing in (as root), "mount /dev/sdb1 /media". Replace the /media mount point and device name according to what you want. It'll either mount, or complain about NTFS, and we can deal with that from that point.
 
Old 01-19-2011, 10:35 AM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,167

Rep: Reputation: 201Reputation: 201Reputation: 201
As per TBOne, I'd assume /dev/sdb1 is your Debian drive. I've only ever played with dual boot systems where Windows was on the first drive as it tends not to understand dual booting and thinks it's the only OS available. Does Microsoft make a boot loader? (That's Microsoft, not some 3rd Party)

You should be able to mount the drive as per TBOne's advice above. I'm running Ubuntu with a Gnome desktop which allows me to access a menu called "Places" which shows up my (in this case) unmounted Windows partition. Clicking on this mounts the partition and allows me to access the files. Clicking on the triangle and bar symbol next the drive unmounts it again.

I don't believe there's an easy way for you to access a Linux partition/drive from Windows as Windows doesn't recognise the various Linux file systems, so saying, somebody will no doubt tell me I'm wrong!

Play Bonny!
 
Old 01-19-2011, 11:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by Soadyheid View Post
As per TBOne, I'd assume /dev/sdb1 is your Debian drive. I've only ever played with dual boot systems where Windows was on the first drive as it tends not to understand dual booting and thinks it's the only OS available. Does Microsoft make a boot loader? (That's Microsoft, not some 3rd Party)

You should be able to mount the drive as per TBOne's advice above. I'm running Ubuntu with a Gnome desktop which allows me to access a menu called "Places" which shows up my (in this case) unmounted Windows partition. Clicking on this mounts the partition and allows me to access the files. Clicking on the triangle and bar symbol next the drive unmounts it again.

I don't believe there's an easy way for you to access a Linux partition/drive from Windows as Windows doesn't recognise the various Linux file systems, so saying, somebody will no doubt tell me I'm wrong!

Play Bonny!
You're not wrong, but from what I've heard, it's not a trivial thing to make Windows mount a Linux drive directly. No ideas on how to do it (I'm MS free, thanks! ), but I've seen references to it online.
 
Old 01-19-2011, 11:19 AM   #5
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
There is an ext2 file system driver for Windows. I believe that this is it.
http://www.fs-driver.org/
I've never used it. I wouldn't want to use it. I don't know if it would damage an ext4 file system. Ext2 and ext3 should be okay if this driver works properly.

I have one Win/Lin machine with a large ntfs partition for data. I share information between Windows and Linux by using this partition.

Last edited by stress_junkie; 01-19-2011 at 11:20 AM.
 
Old 01-19-2011, 03:46 PM   #6
LittlePenguin
Member
 
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 3
Wow.. it seems like a lot of trouble, good thing right know I dont need it but maybe in the future..

Debian has this place "Computer" (under places menu) and it shows me a volume (I think its a volume) called: "System Reserved", when I double click on it it says that cant mount the volume:

"Invalid mount option when attepming to mount the volume "System Reserved"".
 
Old 01-19-2011, 04:42 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I'm not sure if it works for w7, but it does for xp
Explore2fs
 
Old 01-20-2011, 11:34 AM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,167

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Debian has this place "Computer" (under places menu) and it shows me a volume (I think its a volume) called: "System Reserved", when I double click on it it says that cant mount the volume:

"Invalid mount option when attempting to mount the volume "System Reserved"".
Interesting... If I follow your path under Ubuntu I get "160Gb HDD 31Gb File system" which, when clicked, gives me access to my XP files Hmmm...

Does Windows 7 use some sort of re-jigged NTFS file system which Linux can't cope with? (Yet!) Then again, maybe Lenny can't handle it (Nope, Sorry, I can't believe that...) You could try checking the partition info by running:
Code:
 sudo fdisk /dev/sda1
p
'p' means print partition table, but be VERY careful with fdisk! You should be able to find out what sort of partition your "System Reserved" one is. Use 'l' to list known partition types before quitting: 'q'. Linux is type 83.

So, whatcha get?

Play Bonny!
 
Old 01-21-2011, 08:37 AM   #9
LittlePenguin
Member
 
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 3
Im kind of scared to try that fdisk command

Anyways, I'll try it when my Squeeze wants to work -.-
 
Old 01-21-2011, 09:28 AM   #10
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,167

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Im kind of scared to try that fdisk command
I know what you mean. I've never been able to use it without closing my eyes when I hit <return>!!!

Play Bonny!
 
Old 01-21-2011, 01:22 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Debian has this place "Computer" (under places menu) and it shows me a volume (I think its a volume) called: "System Reserved", when I double click on it it says that cant mount the volume:
windows7 recovery partition.
 
Old 01-21-2011, 04:32 PM   #12
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Code:
sudo fdisk -l /dev/sda
sudo fdisk -l /dev/sdb
should be relatively safe.
 
Old 01-21-2011, 04:47 PM   #13
LittlePenguin
Member
 
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 3
Well, good news!, Squeeze recognize my "System Reserved Partition" and I could mount it without a problem, and I searched the files too, everything seems to work ok (except my ati drivers of course -.- )

Btw, maybe is a little offtopic but, how can I do the same running Windows 7?
 
Old 01-21-2011, 04:52 PM   #14
grizlbr
LQ Newbie
 
Registered: Sep 2010
Posts: 26

Rep: Reputation: 0
I saw the fuse and ntfs packages listed in updates which worked until upgrades changed my root password swapping pam updates.
 
Old 01-21-2011, 05:12 PM   #15
LittlePenguin
Member
 
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by grizlbr View Post
I saw the fuse and ntfs packages listed in updates which worked until upgrades changed my root password swapping pam updates.
woot?
 
  


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
Why can't I access my other HDD's skeksis Slackware 3 09-12-2009 02:19 PM
two HDD's silentkilla06 Linux - Newbie 1 11-14-2005 08:32 PM
Listing hdd's Sevoma Linux - General 8 02-10-2005 05:55 PM
Writing to hdd's majeztik Linux - Hardware 4 08-04-2003 07:58 PM
problem with HDD's guest Linux - Newbie 5 07-06-2003 01:20 PM


All times are GMT -5. The time now is 07:58 PM.

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