Ian W. Wright wrote:
> Thanks. The drive, which is an old-style 40GB IDE drive, is in the machine 
> and set up as slave to the Linux drive i.e. it should be hdb.
> The computer also has a couple of CD/DVD drives which are set as master and 
> slave on the second IDE input to the board. At the moment the Windoze drive 
> isn't being seen by linux although it was when it was in the machine 
> originally - I originally had it as a supplementary drive for linux in this 
> machine but took it out to sort out another computer which is when I put 
> windoze on it as a stand-alone installation.
> 
> /proc/partitions says...
> 
> major    minor      #blocks       name
>     3          0       117220824     hda
>     3          1       114945043     hda1
>     3          2                     1     hda2
>     3          5          2273165     hda5
> 253          0       114945043   dm-0
> 253          1          2273165    dm-1

Right, so this shows that Linux doesnt know about the drive.  Plug the 
drive back in as the primary slave and it should show up as /dev/hdb 
with one or more partitions.

Once you can see it from Linux you need to tell your boot loader about 
it.  This is the sketchy part.  You should definately have a boot disk 
available while playing with this.  The CD you installed Ubuntu from 
should work.

I think you're using grub for the bootloader, can you verify that?  The 
grub docs are pretty good and worth a read: 
<http://www.gnu.org/software/grub/manual/grub.html>

You basically need to add a stanza to /boot/grub/menu.lst something like 
this:

title           Windows
rootnoverify    (hd1,0)
makeactive
chainloader     +1

That'll add an option to the GRUB boot menu called Windows, which will 
try to boot (hd1,0), which is grub-speak for /dev/hdb1, the first 
partition on the second IDE drive.  So that's assuming that's the 
partition you've got Windows on.


> and /etc/fstab says....
> 
> <file system>  <mount point>     <type>     <options>                   
> <dump>    <pass>
>   proc                /proc                proc         defaults              
>              0              0
> /dev/hda1          /                      ext3        
> defaults,errors=remount-ro    0             1
> /dev/hda5          none                swap         sw                        
>            0             0
> /dev/hdc         /media/cdrom0    udf, iso9660 user, noauto                   
> 0             0

To make the windows partition available in linux you need to add a line 
for it in the fstab, something like this:

/dev/hdb1 /windows vfat uid=watchman,gid=seb,fmask=111,errors=remount-ro 0 1

That's if your login is watchman, and if your windows partition is 
formatted with the VFAT filesystem.  It might be NTFS which is a bit 
trickier to deal with I think.


-- 
Sebastian Kuzminsky
Yes, we have a soul.  But it is mechanical.  -- Daniel Dennet

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to