Jump to content

Episode 5x24


Darren Kitchen
 Share

Recommended Posts

@acidgen: you might wanna make these archives of the root directory and let people format their own drives. i have a pos 512mb con usb that thinks it's a 4gb sandisk cruzer due to my playing with dd and a u3 img : ) (unfortunately that's not how it behaves though)

besides the process of installing grub4dos is really the only thing that's needed to make the usb bootable so it's not too hard for anyone to do. and that would be the only thing they'd have to do if the whole root directory is unzipped and dumped to disk. (i don't know what pe2usb does but i do know what grubinstallgui is doing and it's adding an grub mbr to the disk)

Link to comment
Share on other sites

  • Replies 447
  • Created
  • Last Reply

Top Posters In This Topic

if i understand what you're trying to do, then you need to have "root (hd0,0)" not "root (fd0,0)".

are you trying to boot from usb or a floppy? if a floppy then ignore me. otherwise if /win98/io.sys is on your usb then the hd instead of fd applies. also you might consider using winimg or dd to make a floppy image to boot off your usb drive if you're booting from floppy.

When i boot off USB

It does:

(hdo,0) GLDR Not Found

(hd1,0) ""

(hd2,0) ""

(hd3,0) ""

(fd0,0) GLDR

Or something like that, so its asif it see's my usb as fd0? Or am i wrong somewhere

Link to comment
Share on other sites

windows on your USB is not so hard,

you need to have the Grub4dos version that can boot iso's

next use MagicISO to rip the ISO from the CD

  1. File > Open CD/DVD Driver and select your CD/DVD drive
  2. File > Save as > winxp.iso (you can name it whatever you like, i use winxp.iso now)
  3. select destination and you have your winxp.iso

next put the winxp.iso in your USB root folder

next put the code below in your menu.list

and boot whit GRUB into windows...

title Windows XP (32b)
map (hd0,0)/winxp.iso (hd32)
map --hook
chainloader (hd32)

For the most versions of windows you need a serial, you can put it on a piece of paper you put it in your menu.

below is the code i use

it wont boot, and you have to select it and press "E" to view, but it is a handy way to keep you serials together without running around with a list of serials.

(you can put any test here you want)

title Serials (no-boot)
map Windows 7 64b        XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows 7 32b        XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows XP 32b        XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
kernel
boot

@ SomethingToChatWith,

I was trying the .iso method as mentioned above.

Link to comment
Share on other sites

When i boot off USB

It does:

Or something like that, so its asif it see's my usb as fd0? Or am i wrong somewhere

Well, some BIOS have the FDD USB emulation, try lookin for that in the BIOS.

you SHOULD be able to switch it ti USB HDD Instead.

/Acidgen

Link to comment
Share on other sites

WOW ... odd bios ... you're right, nevermind me. : )

Well, some BIOS have the FDD USB emulation, try lookin for that in the BIOS.

you SHOULD be able to switch it ti USB HDD Instead.

/Acidgen

It does this on every laptop i try. But im sure it works on my sisters laptop, an my friend madeone at work exact same way as mine and his works fine.

I think the USB pendrive is the problem.

Link to comment
Share on other sites

BTpf4 gives me an error and dumps me to busybox

ALERT! /dev/ram0 does not exist.

I was getting the same error msg try using this:

title Back Track 4

kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317

initrd /bootbt4/initrd.gz

Link to comment
Share on other sites

Has anybody tried to do this one a U3 switchblade yet with success or failure? I know Darren flashed a U3 drive off but he didn't say if it had the switchblade on it.

well somewhere i have heard something about the U3 switchblade requires only up to a 2 gig flash drive but im not so sure that statement was true now. How big of a drive are you using because im sure its bigger then the 2 gig i got on sale for like ten bucks.

Link to comment
Share on other sites

for the people who want it, this is my USB

menu.lst

splashimage /splashscreen.xpm.gz
foreground=FF0000
background=000000
timeout 120

title
kernel
initrd

#------------------Utilities#

title => Utilities
map a
kernel
boot

title Acronis
map --mem /iso/acronis.iso (hd32)
map --hook
chainloader (hd32) 


title BackTrack 4 BETA
root (hd0,0)
kernel /bootbt4/vmlinuz vga=0x317 ramdisk_size=6666 root=/dev/ram0 rw quiet
initrd=/bootbt4/initrd.gz
boot

title DBAN
map --mem /iso/dban.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)


title Freedos
map (hd0,0)/iso/freedos.iso (hd32)
map --hook
chainloader (hd32)


title Kon-Boot
map --mem /iso/konboot.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)


title
kernel
initrd

#------------------\OS#

title => OS
map a
kernel
boot

title Ubuntu  9.10
find --set-root /iso/ubuntu910.iso
map /iso/ubuntu910.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubuntu910.iso quiet splash locale=en.UTF-8 --
initrd /casper/initrd.gz
boot

title Windows XP Home (32b)
map (hd0,0)/iso/winxphome.iso (hd32)
map --hook
chainloader (hd32)

title Windows 7 (32b)
map (hd0,0)/iso/win732.iso (hd32)
map --hook
chainloader (hd32)

title Windows 7 (64b)
map (hd0,0)/iso/win764.iso (hd32)
map --hook
chainloader (hd32)


title
kernel
initrd

#------------------Overig#

title => Overig
kernel /A
Initrd /a.a

title Serials (no-boot)
map Windows 7 64b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows 7 32b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows XP 32b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
kernel
boot

title Reboot
reboot

directory stucture

|-- BT4
| |-- base
| |-- livecd.sgn
| |-- make_iso.bat
| |-- make_iso.sh
| |-- modules
| `-- tools
|-- bootbt4
| `-- boot
| |-- bootinst.bat
| |-- bootinst.sh
| |-- bootlilo.sh
| |-- chain.c32
| |-- dos
| | |-- BT3.bat
| | |-- config
| | |-- loadlin.exe
| | `-- readme.txt
| |-- initrd.gz
| |-- isolinux
| | |-- isolinux.bin
| | |-- isolinux.boot
| | `-- isolinux.cfg
| |-- msramdmp.c32
| |-- mt86p
| |-- syslinux
| | |-- ldlinux.sys
| | |-- lilo
| | |-- mbr.bin
| | |-- syslinux
| | |-- syslinux.cfg
| | |-- syslinux.com
| | `-- syslinux.exe
| |-- vesamenu.c32
| `-- vmlinuz
|--grldr
|--menu.lst
|--splashscreen.xpm.gz
|--iso
| |--acronis.iso
| |--dban.img
| |--freedos.iso
| |--ubuntu910.iso
| |--win732.iso
| |--win764.iso
| |--winxphome.iso
| |--konboot.img

Link to comment
Share on other sites

Hm, anyone tried getting UBCD4WIN working?

Mine just says NTLDR not found, tried a few different settings for the menu.

title UBCD4WIN viri
find --set-root /UBCD4-viri.iso
map /UBCD4-viri.iso (0xff) || map --mem /UBCD4-viri.iso (0xff)
map --hook
chainloader (0xff)

title UBCD4WIN viri
fallback 3
find --set-root /UBCD4-viri.iso
map /UBCD4-viri.iso (0xff) || map --mem /UBCD4-viri.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title UBCD4win viri
map /UBCD4-viri.iso (hd32)
map --hook
chainloader (hd32)

Also has some issues with other ones like Spotmau 2009 and Winkey. Been fooling around, no idea what to do there. Spotmau seem to be some linux-thing, and winkey is based on XP but does not work at all with this ->

title Winkey Pro
map (hd0,0)/winkey.iso (hd32)
map --hook
chainloader (hd32)

Just says chainloader (hd32)

Error 13: Invalid or unsupported executable format

Probably user error lol ^^

Link to comment
Share on other sites

for the people who want it, this is my USB

menu.lst

splashimage /splashscreen.xpm.gz
foreground=FF0000
background=000000
timeout 120

title
kernel
initrd

#------------------Utilities#

title => Utilities
map a
kernel
boot

title Acronis
map --mem /iso/acronis.iso (hd32)
map --hook
chainloader (hd32) 


title BackTrack 4 BETA
root (hd0,0)
kernel /bootbt4/vmlinuz vga=0x317 ramdisk_size=6666 root=/dev/ram0 rw quiet
initrd=/bootbt4/initrd.gz
boot

title DBAN
map --mem /iso/dban.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)


title Freedos
map (hd0,0)/iso/freedos.iso (hd32)
map --hook
chainloader (hd32)


title Kon-Boot
map --mem /iso/konboot.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)


title
kernel
initrd

#------------------\OS#

title => OS
map a
kernel
boot

title Ubuntu  9.10
find --set-root /iso/ubuntu910.iso
map /iso/ubuntu910.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubuntu910.iso quiet splash locale=en.UTF-8 --
initrd /casper/initrd.gz
boot

title Windows XP Home (32b)
map (hd0,0)/iso/winxphome.iso (hd32)
map --hook
chainloader (hd32)

title Windows 7 (32b)
map (hd0,0)/iso/win732.iso (hd32)
map --hook
chainloader (hd32)

title Windows 7 (64b)
map (hd0,0)/iso/win764.iso (hd32)
map --hook
chainloader (hd32)


title
kernel
initrd

#------------------Overig#

title => Overig
kernel /A
Initrd /a.a

title Serials (no-boot)
map Windows 7 64b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows 7 32b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
map Windows XP 32b		XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
kernel
boot

title Reboot
reboot

directory stucture

|-- BT4
| |-- base
| |-- livecd.sgn
| |-- make_iso.bat
| |-- make_iso.sh
| |-- modules
| `-- tools
|-- bootbt4
| `-- boot
| |-- bootinst.bat
| |-- bootinst.sh
| |-- bootlilo.sh
| |-- chain.c32
| |-- dos
| | |-- BT3.bat
| | |-- config
| | |-- loadlin.exe
| | `-- readme.txt
| |-- initrd.gz
| |-- isolinux
| | |-- isolinux.bin
| | |-- isolinux.boot
| | `-- isolinux.cfg
| |-- msramdmp.c32
| |-- mt86p
| |-- syslinux
| | |-- ldlinux.sys
| | |-- lilo
| | |-- mbr.bin
| | |-- syslinux
| | |-- syslinux.cfg
| | |-- syslinux.com
| | `-- syslinux.exe
| |-- vesamenu.c32
| `-- vmlinuz
|--grldr
|--menu.lst
|--splashscreen.xpm.gz
|--iso
| |--acronis.iso
| |--dban.img
| |--freedos.iso
| |--ubuntu910.iso
| |--win732.iso
| |--win764.iso
| |--winxphome.iso
| |--konboot.img

so in your OS part of your drive your using the windows iso instead of a cd? doesnt sound like too bad of an idea. now if winodws could run directly off a usb device without that bartPE thing that would be cool.

Link to comment
Share on other sites

I tried to get ubcd to work as well with no luck... they do have a option to install ubcd to a usb drive but it would erase mbr which I assume would erase all the work I have done so far... any ideas?

Do you mean UBCD or UBCD4WIN?

UBCD works just fine for me with the guide earlier in this thread.

Link to comment
Share on other sites

how can i do USB Multipass still keep my u3

i did a tutorial a few pages back on how to partition the drive and use it like a normal flash drive and also a multipass. This should work for you. Just backup everything from the flash drive now so you can restore it later. Hope this helps!

Link to comment
Share on other sites

Kon-Boot

Yes i can get it to boot when its burnt to CD

and

Yes i can get it to boot when i use the method located at:

http://www.raymond.cc/blog/archives/2009/0...on-boot-to-usb/

But i can not get it to boot using any method posted on this site through the grub menu

I have every single other thing posted running on my usb

I would really like to get Kon-Boot Running through the grub menu as well

Methods that i have tried with no luck:

Method 1

title Kon-Boot-test
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)

Method 2

title Kon-Boot
map (hd0,0)/FD0-konboot-v1.1-2in1.img (fd0)
map --hook
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

I have also tried renaming the img files to a shorter name and still no luck

tested on 2 diffrent computers with the same luck ( none )

The error i get for both methodsis:

Error 41: The int13 handler already on hook
Press any key to continue

then it sends me back to grub

Some Help Please..?

Link to comment
Share on other sites

Kon-Boot...

The error i get for both methodsis:

Error 41: The int13 handler already on hook
Press any key to continue

then it sends me back to grub

Some Help Please..?

Try using the command "map --rehook" like this:

title Kon-Boot-test
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --rehook
rootnoverify (fd0)

or it might work like this as well:

title Kon-Boot-test
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map (hd1) (hd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

Link to comment
Share on other sites

Try using the command "map --rehook" like this:

title Kon-Boot-test
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --rehook
rootnoverify (fd0)

or it might work like this as well:

title Kon-Boot-test
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map (hd1) (hd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

Ya thanks but neither method worked

it did in fact help though

what i mean by that is that the error message dose not show when i try either of your methods

but instead after i select either method you said the pc just reboots

idk must not like certian computers i guess

note:

tested on a dell laptop with xp

and

tested on a hp laptop with vista

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...