• 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.17/day)
Likes
28
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
#1
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
21,054 (6.22/day)
Likes
10,156
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#2
Joined
Nov 30, 2008
Messages
555 (0.17/day)
Likes
28
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
#3
before reding on... this would work on boot up (ie. pre windows)?
 
Joined
Nov 30, 2008
Messages
555 (0.17/day)
Likes
28
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
#4
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!