RE: [Unattended] howto trash xp

2005-02-18 Thread Mark McRitchie


 -Original Message-
 From: Brad Erdman [mailto:[EMAIL PROTECTED] 
 Sent: 18 February 2005 04:48
 To: unattended-info@lists.sourceforge.net
 Subject: RE: [Unattended] howto trash xp
 
 
 What if you just delete boot.ini and ntldr and possibly ntdetect.com?
 
 Brad

You machine would still try and boot off the HD and fail as the bios will
still spot the MBR and then bootstrap it.


Mark.


--
This e-mail message may contain confidential or privileged information.
Recipients are requested to preserve this confidentiality and to advise 
the sender immediately of any error in transmission.

Any views/opinions expressed in this email are that of the author and 
may not reflect the views of Salamis Group - www.salamisgroup.com



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] howto trash xp

2005-02-17 Thread Maurice Massar
hi,

On Thu, Feb 17, 2005 at 03:13:51PM -, Mark McRitchie wrote:
 ...or use boot.ini to start on OS on a separate partition - it need only be
 small because it would probably only need dos - but that OS would have no
 qualms about zapping the XP partition.

hm, I must have been sleeping or something..

if the problem at hand is just to but kick of unattended from network
you could use my solution (which I currently still use to boot ghost)

I use grub on all machines with two menu items:
##
title HSG
dhcp
configfile (nd)/grub/menu.lst

title Win2K
chainloader (hd0,2)+1
##

the second entry is just there in the case of a network failure,
or other problems..

then I can change the menu.lst file on the server as needed, for example
to default to do a unattended installation. For example:
##
title unattended
kernel (nd)/unatt/vmlinuz noapic z_user=XXX z_pass=XXX 
z_path=//192.0.2.8/install
initrd (nd)/unatt/initrd
##

Note:
* grub needs to be compiled with all nececssary network drivers for this
  to work
* worth trying would be bootp --with-configfile instead of just dhcp
* pxegrub exists also, so even blank machines could use this
* there is a password option in the config file, using which, you can
  get a different menu after entering a password (so that users can not
  see options which they should not)

I do not yet know a good solution to tell exactly one machine to boot
something different exactly one time. Possible attack vectors would be
scriptable dhcp daemon, tftp-daemon with support to send a client the
output of an executable (cgi-bin like) or hacking grub to do special
things.

cu
maurice


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] howto trash xp

2005-02-17 Thread Brad Erdman
What if you just delete boot.ini and ntldr and possibly ntdetect.com?

Brad



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] howto trash xp

2005-02-15 Thread Maurice Massar
hi,

On Tue, Feb 15, 2005 at 05:13:05PM +, Hugo Monteiro wrote:
 I'd like to know if there's a simple way of trashing a prefectly good
 installation of XP, in such a way that in the next boot, if the client
 is configured to boot from the lan, it starts a brand new unattended
 install.

I would guess, to make the disk unbootable in a way the bios can
recognize, means overwriting the last to bytes of the MBR which should
be 0x55 0xAA with something else. For simplicity for example overwriting
the whole MBR. If running linux that would be:
# dd if=/dev/zero bs=512 count=1 of=/dev/hda

but I do not know how to do this with xp. does someone else know?

cu
maurice


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] howto trash xp

2005-02-15 Thread Stefan Kell
Hi,

take a look at the source for RAWRITENT.EXE. It is included in Slackware
(http://www.slackware.com;), a wellknown Linux-distribution, and you
probably only have to change the check that a removable drive is the
target.

But I think that you have to be administrator on that machine and most
antivirus programms should disable these writes to the MBR.

Regards

Stefan Kell

On Tue, 15 Feb 2005, Maurice Massar wrote:

 hi,

 On Tue, Feb 15, 2005 at 05:13:05PM +, Hugo Monteiro wrote:
  I'd like to know if there's a simple way of trashing a prefectly good
  installation of XP, in such a way that in the next boot, if the client
  is configured to boot from the lan, it starts a brand new unattended
  install.

 I would guess, to make the disk unbootable in a way the bios can
 recognize, means overwriting the last to bytes of the MBR which should
 be 0x55 0xAA with something else. For simplicity for example overwriting
 the whole MBR. If running linux that would be:
 # dd if=/dev/zero bs=512 count=1 of=/dev/hda

 but I do not know how to do this with xp. does someone else know?

 cu
 maurice


 ---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT Products from real users.
 Discover which products truly live up to the hype. Start reading now.
 http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
 ___
 unattended-info mailing list
 unattended-info@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/unattended-info




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] howto trash xp

2005-02-15 Thread Felipe Navarrete
In win95 and probably 98 you could do:
   fdisk /mbr
on the command line
XP not sure.

Maurice Massar wrote:
hi,
On Tue, Feb 15, 2005 at 05:13:05PM +, Hugo Monteiro wrote:
 

I'd like to know if there's a simple way of trashing a prefectly good
installation of XP, in such a way that in the next boot, if the client
is configured to boot from the lan, it starts a brand new unattended
install.
   

I would guess, to make the disk unbootable in a way the bios can
recognize, means overwriting the last to bytes of the MBR which should
be 0x55 0xAA with something else. For simplicity for example overwriting
the whole MBR. If running linux that would be:
# dd if=/dev/zero bs=512 count=1 of=/dev/hda
but I do not know how to do this with xp. does someone else know?
cu
maurice
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info
 


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info