LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2004, 06:52 PM   #1
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
Question Slipstream Windows XP from Linux?


Slipstream and burn SP2 from within Linux:

Let's face it: Being a technician, in most cases, requires performing tasks that are rather Windows Specific.

I've had some trouble getting this to work, but I'm almost there. Please help me finish this up if you can.

##########################
Getting Started - Get Boot image & Files
##########################

All of the Windows XP CDs have the same boot image, "Microsoft Corporation.img" which must be extracted for use later.
Code:
I can't figure out how to extract it from linux yet... 
:(
HELP ME
Now copy the original cd files:
(to bad you can't write to an iso file....)
Code:
# mount /dev/cdroms/cdrom1 /mnt/cdrom -o uid=1000,gid=100
$ mkdir ~/WinXP_ISO
$ mkdir ~/WinXP_ISO/SP2
$ cp -a /mnt/cdrom ~/WinXP_ISO/SP2
##########################
Slipstreaming - Wine Away
##########################

Download SP2 from microsoft and apply it to the CD files
(I use tinyurl.com to shorten the real microsoft url)
Code:
$ nano -w ~/.wine/config
> [Drive D]
> "Path" = "../WinXP_ISO"
> "Type" = "hd"
> "Label" = "SP2"
> "Filesystem" = "win95"
$ cd ~/WinXP_ISO
$ wget http://tinyurl.com/6j4xb
$ mv WindowsXP-KB835935-SP2-ENU.exe SP2.exe
$ wine -- SP2.exe -s\"D:\\SP2\"
I assume that that should work if you have a drive D in your wine configuration. but I never get past this error:
Code:
Unable to find a volume for file extraction.
Please verify that you have proper permissions.
then go here, and make some magic happen - like pre-patching uxtheme.dll
http://unattended.msfn.org/

##########################
Burninating - k3b that sucker
##########################

FYI: I maintain a few identical directory structures - one for the original slipstreamed ISO, and another with only the experimental tweaks, another with drivers per machine, another with settings per user (I make enough of these that it is worthwhile to learn how to do it without windows), and so on. My eventual hope is that I could have the temporariry ISOs made for me by selecting options on a web interface and having php write my unattended scripts and selecting drivers and such (though I don't make enough of these for that to be anything more than fun).

Select the boot image
Code:
$ k3b
> File >> New >> New Data CD Project
> Project >> Edit Boot Images
>> New
>>> [Select "Microsoft Corporation.img"]
>>> Emulation Type: None
>>> [Click] Show Advanced Options
>>> Boot-info-table: Uncheck
>>> Boot Load Segment: 0x07C0
>>> Boot Load Size: 0x4
>>> OK
>> [Select Virgin Slipstreamed Files; Right Click 'Add to Project']
>> [Select Enhanced Files; Right Click 'Add to Project']
>>> [Click Replace All]
I tried burning the cd a few different ways and I got a few different errors, ordered here by 'worseness':
Code:
: [blinking curser] - filesystem error?
: CDBOOT: Couldn't find NTLDR - file system error?
: usbehci.sys could not be found - Case error?
: cannot find asms, please insert your WinSP2 CD - Case error?
I was able to traverse all of these errors, excluding the later, however, by adjusting the burn settings. I'm not saying that all of these settings are necessary, but I'll narrow it down later. The important thing is that I know this produces a cd without the aforementioned errors. I starred what I think is necessary

It's very interesting how case sensitivity plays a huge roll in the NT Kernel when you are installing windows... and not suprising that the SP2 patch will write lowercase filenames which it assumes your burner software will correct...

Code:
>> Burn
>>> Writing:
Device: [auto]
Speed: [auto]
* Writing Mode: DAO
Options: (changing these shouldn't bother anything)
>>> Settings:
* Datatrack Mode: 1
* Multisession: No Multisession
>>> Volume Desc:
Volume name: WXPOEM_EN
Volume set name: WXPOEM_EN
everything else I left default
>>> Filesystem:
* File Systems: Generate Joliet Extensions
Whitespace Treatment: No Change
>>> Advanced:
iso9660 Filesystem:
Allow 103 characeter Joliet filenames: unchecked
* Allow untranslated filenames: unchecked
Allow 31 character filenames: checked
* Allow full ASCII charset: checked
Allow leading period: checked
* Allow lowercase characters: unchecked
Allow max length filenames (37 characters): checked
Allow multiple dots: checked
* Allow ~ and #: checked
Omit trailing period: unchecked
Omit version numbers: unchecked
Create TRANS.TBL files: unchecked
Follow symbolic links: unchecked
Hide TRANS.TBL files in Joliet: unchecked
ISO level: level 2
Input Charset:
Force input charset: unchecked
Any suggestions on how to implement this procedure entirely in linux would be appreciated.

ORIGINAL POST: http://www.linuxquestions.org/questi...postid=1159723

Last edited by CoolAJ86; 09-12-2004 at 06:59 PM.
 
Old 09-12-2004, 09:22 PM   #2
ellakano
LQ Newbie
 
Registered: Nov 2003
Distribution: Ubuntu 10.10, Windows 7
Posts: 24

Rep: Reputation: 1
Quote:
Now copy the original cd files:
(to bad you can't write to an iso file....)
I happen to know about this because I've been experimenting with extracting Morphix ISOs to create custom CDs and the process is documented on their site.

If you've got an ISO onto your hard drive and you need the files out of that, create a directory to copy your files to (i'll call it /winxp, adjust path as needed) and do this:

Code:
mkdir /mnt/iso
mount -o loop /path/to/YourWindowsXP.iso /mnt/iso
cp -a /mnt/iso /winxp
For extracting the boot image...have you tried cloop/cloop-uitls? (I don't know much about it, mind.) Assuming it will work on the type of file you have, you ought to be able to extract the image using EXTRACT_COMPRESSED_FS, or possibly mount the file in a similar way to the ISO file (see "man cloop") and copy the files.
 
Old 09-12-2004, 09:42 PM   #3
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Original Poster
Rep: Reputation: 15
I know you can copy from an ISO, but you can't write to it...

I'll have to check into cloop-utils, thanks for the tip!
 
Old 06-30-2008, 02:46 PM   #4
Hacketiwack
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Hi everyone,
Take a look at this page here.
It may solve some of your long time unanswered question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 04:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 12:37 PM
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 07:36 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 07:03 AM
Samba - Linux box can see Windows, but WIndows can't see Linux Korff Linux - Networking 1 06-02-2003 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration