Thread: Linux / Windows

  1. #1
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198

    Linux / Windows

    Im having a problem with windows and linux. I reinstalled Mandrake Linux, and at the boot screen it didnt give me an option for my windows partition, C drive. I tried to mount it, but now it doesnt recognize it, although I accessed C, from a floppy boot disk. I went to an option, and I wanted to change its mount point, but it only has mount points such as /var, or /boot ,but no /mnt/win, so It doesnt know its a windows partition. What can I do to fix this.

    Thanks
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  2. #2
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    To get windows to show up on the boot screen you would have to edit /etc/lilo.conf (if you are using lilo bootloader) I can't remember exactly what the command is..... I don't have my lilo.conf file on me at the moment. You should be able to go to the Mandrake Control Center and edit your boot options there.

    As for the mounting the partition you would change that in /etc/fstab . First make sure you have created a folder /mnt/win and then add something like this line to /etc/fstab (assuming your windows partition is at the first partition on your hard drive)

    /dev/hda1 /mnt/win vfat users 0 0
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  3. #3
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    --double post--
    Last edited by JasonLikesJava; 06-05-2002 at 12:16 PM.
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  4. #4
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Ok, I think I got it. Add this to the end of /etc/lilo.conf and then run lilo

    Code:
    other=/dev/hda1
    	label=win
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  5. #5
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    I already tried that, doing it trough control center, and when I go to windows, it says Loading windows, and then prints out LI, and just stalls there.
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  6. #6
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    What does you /etc/lilo.conf file look like?
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  7. #7
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Well this is what it looks like, also, I wanted to try to change the mount point of the C drive, but it doesnt have mnt/win
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Yup I remember doing all this stuff. I used the linux fdisk utility but than I had to boot into the partition with a floppy disk that had linux linx on it or something like that. I vagely remember making a boot.img disk too, in WinNT.

  9. #9
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Did you try adding

    /dev/hda1 /mnt/win vfat users 0 0

    to /etc/fstab ?
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  10. #10
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    I added that line, and then used KdiskFree, and tried to mount the drive, but it says it doesnt exist, and has a size of 0.

    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  11. #11
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Under Control Center, it has mnt/win, under my C drive, but I rebooted the computer, and when it tried to load windows, it gave me the normal message.

    Loading Windows.....

    LI


    Any other suggestiions?

    Thanks

    The exact error message, when I try to mount the dev/hda1 is
    mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems
    Last edited by MethodMan; 06-06-2002 at 11:51 AM.
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  12. #12
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Its almost like your windows partition isn't there.... I'm not sure what the deal is. I'll post my fstab and lilo.conf tomorrow.... if nobody else replies by then.

  13. #13
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198
    Thanks, but the funny thing is, it is there, since I can get to my files on the C drive with a windows boot disk.

    Thanks again
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  14. #14
    vVv
    Guest
    What version of Windows are you using?
    Tried mkdir /mnt/win && mount -t ntfs /dev/hda1 /mnt/win ?
    Are you sure it's on hda1?

  15. #15
    Registered User stautze's Avatar
    Join Date
    Apr 2002
    Posts
    195
    If it hangs on LI (Each letter corresponds to a stage), then this usually this means that you have a mismatch in the way that LILO and the BIOS are trying to access specific parts of a drive. One may be using CHS (cylinder, head, sector) co-ordinates while the other might be expecting LBA (linear block address) offsets. So, try adding the "linear" directive to the global section of your /etc/lilo.conf (and re-running the /sbin/lilo command to build and install a new boot loader from that conf file, of course).

    Alternatively, try changing your PCs CMOS Setup options. Look for an option like "LBA" or "UDMA" mode and disable it. Note that this may not work with newer large capacity drives. You might want to try this first.

    Also if you have a windows boot disk, you can use that to do a
    >fdisk /mbr
    then windows will boot just fine, then you can come back with your linux boot disk and fix things up.
    'During my service in the United States Congress, I took the initiative in creating the Internet.' - Al Gore, March 9, 1999: On CNN's Late Edition

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. windows .dll vs. linux .so - global static objects
    By pheres in forum C++ Programming
    Replies: 11
    Last Post: 11-23-2010, 01:29 PM
  2. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  3. Build linux on windows
    By baash05 in forum Linux Programming
    Replies: 6
    Last Post: 02-19-2008, 10:12 PM
  4. Why can't Windows run Linux binary executables?
    By Kleid-0 in forum Tech Board
    Replies: 30
    Last Post: 12-04-2005, 11:44 PM
  5. Linux and Windows Duel Boot
    By The15th in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-26-2002, 04:59 AM