USB booting :: concurrent windows and Linux development
I am tired of going back and forth from windows to Linux when need to compile my common code that is to run on both Linux and windows.
I have
-- P4 hyperthread
-- 1Gig USB jump drive
-- gig ram
-- 80 gig hd (sata)
-- suse 9.3
-- win xp
I want to develop in windows, compile with vc++ 6, then
click on DSL and cd to windows dir that is mounted with read/write access and issue make on the same code.
Once I am done coding and compiling, then I could test on windows and reboot and test on Linux separately.
Now:
How to mount a windows drive that is shared (smb) as my /sandbox?
How to mount the /root partition of my suse 9.3 on the sata hard drive so I could dump the code and library there
How can I build in the gcc permanently so when I pull the usb drive out and in, I see gcc there?
Also: how can I resize the QEMU windows to fill in my monitor when maximized?
I have been reading and reading ... I just didn't find anyone with a similar need.
If you can help, thanks in advance.
vn44ca
First, get and install gnu-utils.dsl , gcc1.dsl and samba.dsl
Then open a Command Prompt in your Windows computer and type:
ipconfig /all
and write down your Windows ip address. For the purposes of this demonstration, your ip address is 192.168.1.1, your windows username is johndoe and your domain or workgroup name is genericorp
Then:
sudo su
mkdir /mnt/winshare
smbmount //192.168.1.1/sandbox /mnt/winshare -o username=johndoe,workgroup=genericorp
You will then be prompted for your windows password
You can now access your windows share files at the linux directory name /mnt/winshare
DSL does not support most SATA hard drive controllers at the moment. You might be able to acccess it if you set your BIOS controller mode to "compatibility mode" or "PATA compatibility mode" or "OS install mode".
I have no idea.
To maximize your QEMU window, press CONTROL-ALT-F
To return to normal size, press CONTROL-ALT-F again.
Thanks very much cbagger01.
You indeed answered many of my questions.
Now I have to make the changes ( module downloads ) permanant.
I have read the instructions and tried it, however, the changes don't stick
when I try to restore them. It hangs ....
Thanks again,
vn44ca:)
Read up on how to use the myDSL system and the backup/restore system. There is some helpful information at the DSL wiki site.
original here.