• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Help making an Auto Run start menu for USB stick

Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
Hi All

I want to make a menu (like the Hiren's menu) for my USB stick to run when it boots from the stick.

I want this menu to point to other autorun programs... like an image of windows 7, or an image of XP, or point to hiren's itself etc....

I know basic scripting but how would I go about this?

Thank in advanced!!
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
before reding on... this would work on boot up (ie. pre windows)?
 
Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
OK so far I have used grub4Dos to install a MBR and am editing the menu.lst using this example file:


# This is a sample menu.lst file. You should make some changes to it.
# Added items for installing GRUB [ which is on your DOS drive C: ] to MBR

color black/cyan yellow/cyan
timeout 10
default 0

title START - Windows XP from internal HDD
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
find --set-root /ntldr
chainloader /ntldr

title -----------------------------------------------------------------
chainloader

title Windows XP SP2 Consola de Recuperacion
chainloader /RECC/SETUPLDR.BIN

title -------------------- Windows ---------------------------
chainloader

title Start Windows Vista Portable
chainloader /bootmgr

title -------------------- Linux ---------------------------
chainloader

title SLAX
kernel /slax/boot/vmlinuz root=/dev/ram0 rw initrd=/slax/boot/initrd.gz init=linuxrc lang=uk load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=100000 max_loop=255 pci=nommconf changes=/slax/changes/ autoexec=startx
initrd /slax/boot/initrd.gz

title BackTrack 3
kernel /BT3/boot/vmlinuz root=/dev/ram0 rw initrd=/BT3/boot/initrd.gz init=linuxrc changes=BT3/changes/changes.dat lang=uk load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=100000 max_loop=255 pci=nommconf autoexec=startx
initrd /BT3/boot/initrd.gz

title WifiSlax 3.1
root (hd0,0)
kernel /wifislax/boot/vmlinuz root=/dev/ram0 rw initrd=/wifislax/boot/initrd.gz lang=uk ramdisk_size=100000 load_ramdisk=1 prompt_ramdisk=0 rw_ acpi=off changes=/wifislax/changes/
initrd /wifislax/boot/initrd.gz
boot

title -------------------- Recovery ---------------------------
chainloader

title Hiren's BoodCD 9.7
find --set-root /hiren.iso
map --mem /hiren.iso (hd32)
map --hook
chainloader (hd32)
rootnoverify (hd32)
boot

title GHOST 11.0.1
map --mem (hd0,0)/ghost.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1

so if I had a Windows 7 image on the same HDD in a folder on the root called 'OS' what would I replace to launch it ??



THANKS AGAIN!
 
Top