LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-19-2006, 05:40 PM   #1
uncle guido
LQ Newbie
 
Registered: Jan 2005
Location: Wiesbaden, Germany
Distribution: Ubuntu ,Linux Mint
Posts: 7

Rep: Reputation: 0
Question How do I swap windows on hard 2 to hard drive 1 and linux from 1 to 2


Hi Linux world. I have windows on hard plate 2 and Linux as hard drive 1, two seperate hard drives. I have accuried a Nokia 6101 handy and yakumo alpa GPs hand held, but they don't communicate with my Suse 10. Therefore I am forced to make the windows drive the number one and the linux the number two. I tried to locate the Linux drive with Kanotix to change the lilo but He could not locate the drive; or rather could not open it . Do I have to live with the constant changing of the cable to talk to the windows drive? Any help would be appreciated. Thanks
Uncle Guido

Last edited by uncle guido; 10-20-2006 at 03:06 AM.
 
Old 10-19-2006, 05:58 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
From Suse, change the windows section of your /etc/lilo.conf file to like something like this
Code:
other=/dev/hdb1
        label=Windows
        table=/dev/hdb
        map-drive = 0x80
        to = 0x81
        map-drive = 0x81
        to = 0x80
Then run /sbin/lilo to update your boot loader. When you reboot, you should be able to boot Windows when it's plugged into the second slot.

The map-drive stuff basically is fooling Windows into thinking it is the first drive, even though it's plugged into the second slot.
 
Old 10-20-2006, 02:52 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
Can't you keep it as Windows on Drive 1 and Linux on Drive 2? Linux works fine on drive 2. You will probably have to reload your boot loader and reconfigure fstab.
 
Old 10-20-2006, 03:05 AM   #4
uncle guido
LQ Newbie
 
Registered: Jan 2005
Location: Wiesbaden, Germany
Distribution: Ubuntu ,Linux Mint
Posts: 7

Original Poster
Rep: Reputation: 0
to arubin.
The problem is that I have physically changed the drives as indicated above and now find the need to be able to boot windows and B. G.' program must be or at least must think that it is Nummero Uno.
The other reply which I have not tried yet but will, if it worksmay be a possible answer.
Kanotix could not open or contact the linux drive when I physically changed the drives then I could not reconfig the lilo
 
Old 10-20-2006, 03:12 AM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
You could try booting up with a live disc or even you original installation disc.

Then mkdir /repair

mount /dev/hdb1 /repair
(depending on where your linux installation is)
chroot repair

Now see if you have access to your linux installation
 
Old 10-25-2006, 11:14 AM   #6
uncle guido
LQ Newbie
 
Registered: Jan 2005
Location: Wiesbaden, Germany
Distribution: Ubuntu ,Linux Mint
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

I wish to thank both members who responded to my question. The situation has resolved its's self, I' m the owner of a free ( although for a B. G. computer that is still too much.) out dated computer, but for my purposes it will serve just fine.
It is nice to know that help is just a call away, thanks again
uncle guido
 
  


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
Hard drive for swap/tmp/var? superluser Linux - Hardware 11 08-12-2006 05:21 PM
Hard Drive Swap Challenge Peterius Linux - Hardware 1 10-17-2004 10:42 AM
new hard drive, grub and swap? freychef Linux - Hardware 3 01-26-2004 08:55 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
Can I do this? Hard drive swap. bulliver Linux - Hardware 7 12-26-2002 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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