Author Topic: windows install with network boot  (Read 34896 times)

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« on: February 16, 2010, 20:53:42 PM »
topic split from http://forum.plop.at/index.php/topic,145.0.html

how to install windows with help from PLoP Linux over network
there are many ways, here is one solution

at first, you need a win95b boot disk image. you get one from www.bootdisk.com

then download the attached memdisk file from the syslinux project and save it to the c:\tftpboot\ploplinux directory

then copy the i386 directory of your windows install cd to the pluspacks directory of ploplinux.
« Last Edit: February 17, 2010, 14:58:47 PM by Elmar »

DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #1 on: February 16, 2010, 21:03:52 PM »
at first, you need a win95b boot disk image. you get one from www.bootdisk.com

then download the attached memdisk file from the syslinux project and save it to the c:\tftpboot\ploplinux directory

then copy the i386 directory of your windows install cd to the pluspacks directory of ploplinux.

ok i have these files...now what?

thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« Reply #2 on: February 17, 2010, 07:56:31 AM »
whats the name of the boot disk image?

DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #3 on: February 17, 2010, 13:39:19 PM »
whats the name of the boot disk image?

It is win95b.img

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« Reply #4 on: February 17, 2010, 13:59:03 PM »
copy win95b.img to the directory c:\tftpboot\ploplinux\

add to the file c:\tftpboot\ploplinux\pxelinux.cfg\default the lines
Code: [Select]
label dos
kernel memdisk
append initrd=win95b.img

do you have any data on the pc you want to rescue or can we format the partition?
i assume that windows was on the first partition, or?
is the harddisk an ide or sata harddisk?



DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #5 on: February 17, 2010, 14:09:57 PM »
Ok done...yes the hdd originally had xp and yes we can format the disk.

Thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« Reply #6 on: February 17, 2010, 14:15:04 PM »
i asked you, was windows on the first partition and is the harddisk an ide or sata harddisk? according to your answer i think you don't know what i am speaking.

ok, ignore it.

boot up plop linux
when you read "[root@rescue]" the enter "fdisk /dev/hda"

DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #7 on: February 17, 2010, 14:20:32 PM »
Oh sorry, windows was on just one ntfs partition originally and yes it is ide.

Ok i have typed fdisk and it is asking which operation i would like to perform on the disk

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« Reply #8 on: February 17, 2010, 14:27:36 PM »
enter "t"
if you get the question what partition number you want to use then press "1"
for hex code press "c"
press "p" to print the partition table, if you see no "*" beside hda1 then press "a" for partition 1, check again with "p"
then press "w"
now linux should say something about sync and you should be back at [root@rescue]

run "lilo -M /dev/hda"
« Last Edit: February 17, 2010, 21:15:54 PM by Elmar »

DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #9 on: February 17, 2010, 14:32:48 PM »
Ok done everything went well.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
windows install with network boot
« Reply #10 on: February 17, 2010, 14:39:23 PM »
run the following:

mkfs.vfat -F 32 /dev/hda1
mount /dev/hda1 /mnt
mc /mnt /media

on the left window you should see ".." and on the right window you should see the directories ploplinux, pluspacks and so on. you can change the active window with the tabulator key. enter the pluspacks directory and move the bar over the i386 directory. now press F5 for copy and copy the directory to the other side with pressing enter.

DreamX

  • Newbie
  • *
  • Posts: 37
windows install with network boot
« Reply #11 on: February 17, 2010, 14:51:16 PM »
Ok this has completed and i now see the i386 folder on the left side.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #12 on: February 17, 2010, 15:01:38 PM »
now reboot by pressing ctrl alt del
boot again from network
when you see the plop linux start screen with various options then enter at "boot: " the command "dos". now dos should start.

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #13 on: February 17, 2010, 15:10:32 PM »
ok i am now in the win95 command prompt

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #14 on: February 17, 2010, 15:14:11 PM »
enter the following:
sys c:
c:
cd i386
winnt

now you should see the windows install screen. when you select the partition to install windows, you will be asked to convert the fat32 partition to the ntfs file system. let the install program do this.

« Last Edit: February 17, 2010, 17:30:52 PM by Elmar »

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #15 on: February 17, 2010, 15:19:27 PM »
it is warning me that i should install smartdrive first to speed things up. Should i do this?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #16 on: February 17, 2010, 15:26:10 PM »
smartdrv will improve the install speed. i don't know if its on your floppy image. try it with "smartdrv" on the command prompt. if you don't have smartdrv then the first copy part will take about a hour. maybe faster, maybe slower. but in such a worst situation is a slow installation better that no installation.

you can search the web for a boot disk with smartdrv. the only requirement is that its at least a win95b floppy image. not earlier.

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #17 on: February 17, 2010, 15:33:36 PM »
Ok i have opened the win95.img in magic iso and added smartdrv.exe to the win95.img and saved it. It appears to be working at the moment and the files are copying to hard drive.

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #18 on: February 17, 2010, 15:36:51 PM »
fine, the installation should work now without problems

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #19 on: February 17, 2010, 15:42:14 PM »
when the file copy was complete the laptop restarts and give error message: disk error press any key to restart.?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #20 on: February 17, 2010, 15:44:35 PM »
the install program said nothing about an error?
did you select the ntfs convert?

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #21 on: February 17, 2010, 15:47:25 PM »
The install gave no error, the installer didnt ask me to convert the partition to ntfs

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #22 on: February 17, 2010, 15:51:18 PM »
hmmm, strange.

you selected the first partition to install xp, what happened then?

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #23 on: February 17, 2010, 15:52:58 PM »
the installer did not even give me the option to chose a partition?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #24 on: February 17, 2010, 15:53:58 PM »
what happened when you started winnt?
is it a special xp?
« Last Edit: February 17, 2010, 15:55:30 PM by Elmar »

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #25 on: February 17, 2010, 16:00:04 PM »
Perhaps it may be a media center edition?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #26 on: February 17, 2010, 16:07:49 PM »
i mean, its not specialized to your laptop, or?
i never did it with a media center edition, but this should work too. do you have any other xp install cd's?

what happened after you started winnt?
gives "winnt /?" any  special options?

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #27 on: February 17, 2010, 16:13:42 PM »
No it is not specialized to my laptop...i have used it many times on standard usb installs.

When i started winnt the install screen showed up and asked me for the location of the files c:/i386 and then it begun tranfering the files to hdd.

I have a standard xp pro disk...shall i begin the whole process again with this?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #28 on: February 17, 2010, 16:19:23 PM »
yes try xp pro. you don't have to do all again. simply replace the i386 directory. you can skip the fdisk and mkfs.vfat parts. to delete the i386 directory on the laptop use the F8 key in mc

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #29 on: February 17, 2010, 17:00:41 PM »
i quickly tried it and we have to do an additional step with plop linux, i updated it, see the fdisk and dos post
« Last Edit: February 17, 2010, 17:31:08 PM by Elmar »

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #30 on: February 17, 2010, 18:52:38 PM »
i quickly tried it and we have to do an additional step with plop linux, i updated it, see the fdisk and dos post

i will try it shortly...thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #31 on: February 17, 2010, 18:59:06 PM »
you need only the "sys c:" from dos. the other things that i added are only needed on a fresh hard disk. i am sure the media edition will work too

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #32 on: February 17, 2010, 20:32:34 PM »
hi lilo gives me the message "fatal: cannot open: /etc/lilo.conf

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #33 on: February 17, 2010, 21:15:22 PM »
lilo -M /dev/hda

but you do not need run lilo

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #34 on: February 17, 2010, 21:28:43 PM »
lilo -M /dev/hda

but you do not need run lilo

That command gives the error "fatal: creat /boot/boot.0300: no such file or directory?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #35 on: February 17, 2010, 21:38:34 PM »
this is a problem with the 4.0.2 version
mkdir /boot
and then lilo -M /boot

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #36 on: February 17, 2010, 22:10:39 PM »
I am now getting major errors when using /mc /mnt /media when I try to copy over the files it gets half way through then /Mc crashes with these errors "SQUASHFS error: unable to read page, block 1846a34?

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #37 on: February 17, 2010, 22:32:12 PM »
Nevermind it copied fine this time

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #38 on: February 18, 2010, 17:07:50 PM »
Hi,

Many thanks Elmar I finally got this laptop running with xp I owe you many thank you. However there were a few things in your instructions that needed changing or you maybe typed incorrectly?

Anyway, you really are a genius...where in the world are you from?

Thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #39 on: February 18, 2010, 19:13:08 PM »
fine that it works now.

Many thanks Elmar I finally got this laptop running with xp I owe you many thank you. However there were a few things in your instructions that needed changing or you maybe typed incorrectly?

ahh, yes, the last lilo parameter was wrong. it was late ;)

Anyway, you really are a genius...where in the world are you from?

i would be a genius, if i said "sys c:" at the first time :), but i forgot that windows does one dumb reboot. the last time i did a similar installation is long time ago. the lilo stuff was not required, your first error message at the reboot confused me, so i was thinking your mbr is not valid, but only the boot sector was not valid. this was fixed with the sys command. i write all steps together, maybe someone else needs it too.

i am from austria.

best regards
elmar

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #40 on: February 18, 2010, 20:28:11 PM »
Wow austria...i love austria, I have spent many days up in the mountains in mayrhofen and the zillertal valley tyrol snowboarding and enjoying the summer . I am from manchester england.

I thought I would mention I had another problem adding the plopbootmanager to the windows xp boot.ini...i got an error message that the hal.dll was missing?

Thanks

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #41 on: February 18, 2010, 20:38:58 PM »
you mean, you start it from the boot.ini?

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #42 on: February 18, 2010, 20:50:33 PM »
you mean, you start it from the boot.ini?

I added c:\plop\plpbtldr.bin="PLoP Boot Manager" to the boot.ini and attempted to run from windows boot menu and I got the hal.dll error

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #43 on: February 18, 2010, 20:52:38 PM »
i heard from this problem, but i was not able to reproduce it to see whats wrong

DreamX

  • Newbie
  • *
  • Posts: 37
Re: windows install with network boot
« Reply #44 on: February 18, 2010, 21:21:44 PM »
Is there another quick way to add plop bootmanager to the boot list so that I may have the option to choose plop boormanager at startup?


Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2448
  • a command shell is enough to do amazing things
Re: windows install with network boot
« Reply #45 on: February 18, 2010, 22:15:49 PM »
you can use grub4dos and add the boot manager to the menu.lst