Windows -> Linux

This is a discussion on Windows -> Linux within the C++ Programming forums, part of the General Programming Boards category; before you bust my balls, i feel like this is the appropriate section to ask in seeing as i doubt ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    719

    Windows -> Linux

    before you bust my balls, i feel like this is the appropriate section to ask in seeing as i doubt there is a way to do this without resorting to programming. If there is a way, i'm still curious as to how i could do this with my own code anyway.

    the question is, is there a way to retrieve files from a linux partition while running windows, but without having to run linux on top of windows?

    there's nothing i hate more than booting into windows from linux and then realizing i left my files behind.

    i realize that writing such program involves coding for about 4 different of filesystems (or at least 2 if i plan to only use FAT32 and ext2.), but it's something i can do over time and gives me a challenge. it beats the hell out of:

    Enter the box's Width (space) Area: 10 10
    Your box is 100 units big!
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    ...partition everything as fat32 or use an outside fileserver and FTP?
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    brilliant... /home ... on a windows filesystem ... never woulda thought of that...


    i still wanna know how to do it in c++

    thanks
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    Since you can get the source code for all the Linux file systems, decoding all the disk structures is not much of a problem.

    The only real bit you would have to change would be to wrap the physical disk access routines up with something which accesses the physical disk inside windows.
    In 2K and XP, this is pretty easy if you're running with admin privilege.

    Or perhaps this -> http://bochs.sourceforge.net/
    Or it's $$$ equivalent -> http://www.vmware.com/products/desktop/ws_features.html

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Hmmm do be careful, misplaced. Direct reading and writing to the disk can mess things up in a way CTRL+Z will not undo. Good news is that its not a big deal in terms of complexity. But the process does have dire consequences.

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    Salem - i'll check into that bochs program. that seems pretty useful

    master - i'd do thorough debugging. that's what floppies and decrepit slave drives are for
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  7. #7
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Good idea. That or an old 100MB harddrive.

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, 12:29 PM
  2. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  3. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 02:58 AM
  4. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM
  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21