reliam Posted August 5, 2009 Share Posted August 5, 2009 Resources http://www.securitydistro.com/ http://www.livecdlist.com/ Havnt tried this but seems like a really cool LiveDVD http://supergamer.org/get.htm Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 5, 2009 Share Posted August 5, 2009 Well I've been trying to get GRUB installed on several usb disks and simply can't seem to get it working. I have followed the instructions perfectly but all that happens is a flashing '_' in the top corner... so I am now looking at using GRUB 2 (1.96) So shout out who's got GRUB 2 working on a USB Flash key, if you have could you please explain/show what you did ?? Bumperz ??? I've tried to create a GRUB 2 MBR from Ubuntu 9.10 already running the GRUB2 loader but it won't allow the creation of a MBR other than on a HD like HD0. So any help appreciated. I wonder if it is possible to rip the MBR from my Ubuntu 9.10 box and then write to the USB stick... I did it using grub-install and grub-setup Quote Link to comment Share on other sites More sharing options...
m0u53 Posted August 5, 2009 Share Posted August 5, 2009 if in linux BE SURE YOUR ROOT i cant tell you how many times i tryed to find /flashdrive.txt and it would always give error 15 after about 3 hrs of googling i tryed an apt-get install and it told me i wasnt root /facepalm Quote Link to comment Share on other sites More sharing options...
Beelzebub311 Posted August 5, 2009 Share Posted August 5, 2009 Does Kon-Boot work if you burn it to a CD or Floppy? Yes, it does. At first I thought I might have a bad download or something, but I've downloaded it multiple times on different computers, burned each to a disk, and they all work. It works on Ubuntu, 7, or Vista, but won't if it's on the USB drive. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 5, 2009 Share Posted August 5, 2009 Does it work from another USB? Quote Link to comment Share on other sites More sharing options...
FRoSTY Posted August 5, 2009 Share Posted August 5, 2009 Thanks for the replies guys, ok here goes @Relium Yes my computer can boot from USB as can another PC that I tried it on, but not the GRUB created USB. @M0u53 Yup I was logged into my Ubuntu box as root. @Psychosis Could you show me the exact syntax you used to install both grub-install and grub setup, thanks. I am wondering about the USB keys I am using... I have as a pack of 2 gig DANE Elec keys and I've tried each of them one by one and failing. I am waiting for my 2 new Cruzer U3's to turn up, so will see if they work with the 'straight forward install' Quote Link to comment Share on other sites More sharing options...
reliam Posted August 5, 2009 Share Posted August 5, 2009 I am wondering about the USB keys I am using... I have as a pack of 2 gig DANE Elec keys and I've tried each of them one by one and failing. I am waiting for my 2 new Cruzer U3's to turn up, so will see if they work with the 'straight forward install' From the PEtoUSB ReadMe.txt USB STICKS TESTED ================= SanDisk Cruzer Mini SUCCESSFUL PenDrive 2.0 Mini SUCCESSFUL PQI iStick 2.0 SUCCESSFUL I-Bead MP3 Player FAILED (I think the UFD initializes too slow for the BIOS) Quote Link to comment Share on other sites More sharing options...
Mat Posted August 5, 2009 Share Posted August 5, 2009 I am wondering about the USB keys I am using... I have as a pack of 2 gig DANE Elec keys and I've tried each of them one by one and failing. I am waiting for my 2 new Cruzer U3's to turn up, so will see if they work with the 'straight forward install' I've got loads of that brand of drive and they work fine. Try using the HP USB formatting tool, then use grubinst_gui to install a bootable MBR (make sure to pick the right drive) and then replace grldr with the one from grum4dos. That really should be all there is to it. Quote Link to comment Share on other sites More sharing options...
rickh925 Posted August 5, 2009 Share Posted August 5, 2009 Does mounting the ISO with map (hdX,Y)/path/to/image.iso (hdZ) work with Grub4DOS? Yes, this is what I do to boot to the BT4beta ISO. title Backtrack 4 beta map (hd0,0)/bt4-beta.iso (hd32) map –hook root (hd32) chainloader () Rick Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 5, 2009 Share Posted August 5, 2009 Anyone got BT4 Pre-Final to load from the ISO? I'm using: title << Back | Track 4 (Pre-Final) find --set-root /boot/iso/bt4-pre-final.iso map /boot/iso/bt4-pre-final.iso (0xff) map --hook root (0xff) kernel /boot/vmlinuz BOOT=casper boot=casper find_iso/filename=/boot/iso/bt4-pre-final.iso nopersistent rw quiet vga=0x317 initrd /boot/initrd.gz boot but it drops to the ASH shell at (initramfs) Quote Link to comment Share on other sites More sharing options...
BuckoA51 Posted August 5, 2009 Share Posted August 5, 2009 Anyone still struggling with BartPE? Easiest way to get that working is:- 1) Build your PE environment as usual 2) Use PeToUSB on a spare USB stick (3.0.0.8 works better on bigger USB sticks) - Enable Disk format, Quick format, Force Volume Dismount. Point the Source path to your BartPE folder (e.g C:\pebuilder3110a\BartPE) and tick "enable file copy". Then hit start. 3) Copy all files from your spare stick to your multiboot stick 4) You need to copy the file EMPTYREGDB.DAT to minint\SYSTEM32 on your multiboot stick. You can find this file in C:\WINDOWS\system32 on a regular Windows XP installation. 5) add a menu.lst entry like this:- # --- BartPE --- title BartPE root (hd0,0) chainloader /minint/setupldr.bin # --- --- --- --- Having written this post, it now seems obvious that might be a long winded way of doing it, you might just be able to use PeToUSB without "Enable Disk Format" and "Don't rewrite MBR code" enabled to write the files directly to your multiboot stick. Regardless, this method does not copy the ISO to RAM and so it's better if you often find yourself fixing older PC's with limited memory. On another note, while digging around the internet for information on getting various apps to work, I found a thread which stated that for best compatibility with older motherboards, it was better to partition the stick. This fooled older, badly coded BIOS'es into thinking the stick was a hard drive and thus allowed booting from it. Obviously if your carrying your USB multiboot with you, you want it as compatible as possible. Anyone any thoughts on this, the information can be found here:- http://www.boot-land.net/forums/index.php?...mp;p=62682& Quote Link to comment Share on other sites More sharing options...
FRoSTY Posted August 5, 2009 Share Posted August 5, 2009 Try using the HP USB formatting tool, then use grubinst_gui to install a bootable MBR (make sure to pick the right drive) and then replace grldr with the one from grum4dos. I'll give it a go with the HP util and see if that works, otherwise I will have to wait till my new cruzers turn up in the morning and try them. Quote Link to comment Share on other sites More sharing options...
charm_quark Posted August 5, 2009 Share Posted August 5, 2009 holly god! just bumped into this thread! and its so god damn long!.. now you can ignore me and continue with the previous conversation! ;) Quote Link to comment Share on other sites More sharing options...
hA1d3R Posted August 5, 2009 Share Posted August 5, 2009 has anyone tried using Super Grub DIsk ?? Quote Link to comment Share on other sites More sharing options...
hA1d3R Posted August 5, 2009 Share Posted August 5, 2009 Use the Acronis rescue media builder to make an ISO. Use grub ISO emulation like this: title Acronis map --mem /Acronis.iso (hd32) map --hook chainloader (hd32) uptil now i havent been able to boot isos i am using grub4dos 4.4 with fat16 and also tried using (fat32) - which one is better for multiboot?? i am able to BT4,HBCD,Konboot ,acronis hangs booting acronis media i am not able to boot iso's title Acronis map --mem /Acronis.iso (hd32) map --hook chainloader (hd32) title Acronis media find --set-root /acronis10.iso map /acronis10.iso (hd32) map --hook root (hd32) chainloader (hd32) title Super Grub Disk map --mem (pd)/sgd.iso (hd32) map --hook chainloader (hd32) Quote Link to comment Share on other sites More sharing options...
Hretsam Posted August 5, 2009 Share Posted August 5, 2009 uptil now i havent been able to boot isos i am using grub4dos 4.4 with fat16 and also tried using (fat32) - which one is better for multiboot?? i am able to BT4,HBCD,Konboot ,acronis hangs booting acronis media i am not able to boot iso's title Acronis map --mem /Acronis.iso (hd32) map --hook chainloader (hd32) title Acronis media find --set-root /acronis10.iso map /acronis10.iso (hd32) map --hook root (hd32) chainloader (hd32) title Super Grub Disk map --mem (pd)/sgd.iso (hd32) map --hook chainloader (hd32) they both work fine, but with fat32 you wont get "warnings" about the filesize.. about the acronis iso, it works here.. are you sure its on your drive on the root with exact the same filename? i have this, and it works fine here title Acronis map --mem /acronis.iso (hd32) map --hook chainloader (hd32) try with your Acronis media boot to select the kernel? otherwise i dont know. play with the boot line's Quote Link to comment Share on other sites More sharing options...
BuckoA51 Posted August 5, 2009 Share Posted August 5, 2009 Acronis is awful anyway in my experience, I'm going to try Paragon's rescue CD at some point Quote Link to comment Share on other sites More sharing options...
hA1d3R Posted August 5, 2009 Share Posted August 5, 2009 thx 4 the prompt reply...i read the threads in hurry ....SGD works for floppy image Quote Link to comment Share on other sites More sharing options...
hA1d3R Posted August 5, 2009 Share Posted August 5, 2009 Acronis is awful anyway in my experience, I'm going to try Paragon's rescue CD at some point i like its deleted /corrupted partition recovery addon Quote Link to comment Share on other sites More sharing options...
BuckoA51 Posted August 5, 2009 Share Posted August 5, 2009 i like its (Acronis) deleted /corrupted partition recovery addon I benchtested it (admittedly almost a year ago) against a couple of other packages, it was the only one that failed to sucessfully reimage a drive either from a boot CD or in Windows ! (if your interested you can read about it here http://www.top-windows-tutorials.com/TWT_N...iskBackup.html) Their new version might be better, but once bitten twice shy for me. Quote Link to comment Share on other sites More sharing options...
hobbyhack Posted August 6, 2009 Share Posted August 6, 2009 Trinity is working from it's own directories 1. create the trinity USB as shown in the show from the CD using the command line 2. copy all of the files on the trinity usb to /boot/trinity/ on your multipass usb drive - except /trk3 dir 3. copy the /trk3 directory from the trinity usb to root of the multipass usb When it boots it will ask you to identify where your USB is located (usually /sdb1) title Trinity Rescue Kit kernel /boot/trinity/kernel.trk initrd=/boot/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose initrd /boot/trinity/initrd.trk This isn't perfect because you still have to tell it where the usb drive is but it keeps the root directory clean. Quote Link to comment Share on other sites More sharing options...
haxwithaxe Posted August 6, 2009 Share Posted August 6, 2009 Just a thought... Grub errors from the people who are having grub problems might be useful. ie i keep getting "bad device string" errors trying to boot from isos. EDIT: I switched from the standard grub 1 to grub4dos and the errors have ceased : ) <ignore this> As per the above, I need some help understanding what I'm doing wrong with some of these entries particularly the booting direct from isos. </ignore this> here is my menu.lst color red/black white/black title Smart Boot Manager (good) kernel /memdisk initrd /sbm.img floppy title BT3 (good) kernel /bt3_root/boot/vmlinuz vga=0x317 ramdisk_size=6666 root=/dev/ram0 rw quiet initrd=/bt3_root/boot/initrd.gz boot title BT4 pre (good) configfile /bt4-pre_root/boot/grub/menu.lst savedefault title Ophcrack (good) kernel /ophcrack_root/boot/bzImage rw root=/dev/null vga=normal lang=C kmap=us screen=1024x768x16 autologin initrd /ophcrack_root/boot/rootfs.gz title Kon Boot (works with darren's method after switching to grub4dos) title Hirens 9.9 (good) kernel /memdisk initrd /hirens_root/boot.gz title ntpasswd (good) kernel /memdisk initrd /ntpasswd.img floppy title DBAN (good) kernel /memdisk initrd /dban-floppy.img floppy title Clonezilla (boots to error) kernel /clonezilla_root/live/vmlinuz1 initrd=/clonezilla_root/live/initrd1.img boot=live union=aufs hostname=jaunty edd=on nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia vga=normal initrd /clonezilla_root/live/initrd1.img edit: title Parted Magic(good after moving pmagic dir to root dir) kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us initrd /pmagic/initramfs ## old one that didn't work #title Parted Magic(can't remember) #kernel /pmagic_root/pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 #loglevel=0 keymap=us #initrd /pmagic_root/pmagic/initramfs #map --unmap=0:0xff (this line caused grub error: bad device) title FreeDOS (good) kernel /memdisk initrd /freedos.img floppy title Damn Small Linux (update: good after moving KNOPPIX dir to root dir) kernel /dsl_root/boot/isolinux/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=789 initrd=minirt24.gz nomce noapic BOOT_IMAGE=dsl initrd /dsl_root/boot/isolinux/minirt24.gz title Super Grub Rescue Disk(boots but needs editing in submenus) configfile /super-grub_root/grub/menu.lst savedefault title Trinity Rescue Kit (boots to error (I know there's abunch of stuff wrong with this one)) kernel /trinity_root/kernel.trk initrd=/trinity_root/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose initrd /trinity_root/initrd.trk title Ubuntu LiveCD(works after switching to grub4dos) find --set-root /ubuntu-9.04-desktop-i386.iso map /ubuntu-9.04-desktop-i386.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-9.04-desktop-i386.iso quiet splash locale=en.UTF-8 -- initrd /casper/initrd.gz boot title Memory Test kernel /memtest86+.bin (stolen from BT4pre) title Boot the First Hard Disk root (hd1) chainloader +1 ##END################ boot here is my dir stucture ROOTDIR of BOOTUSB |-- BT3 | |-- base | |-- livecd.sgn | |-- make_iso.bat | |-- make_iso.sh | |-- modules | `-- tools |-- KNOPPIX(for dsl) | `-- KNOPPIX edit:(no more boot folder switched to grub4dos don't got the grub-install route if you want to do the fun stuff) |-- bt3_root | `-- 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 |-- bt4-pre_root | |-- boot | | |-- bootsplash | | |-- grub | | | |-- bt4.xpm.gz | | | |-- menu.lst | | | `-- stage2_eltorito | | |-- initrd.gz | | |-- initrd800.gz | | |-- initrdfr.gz | | |-- memtest86+.bin | | `-- vmlinuz | |-- boot.catalog | `-- md5sum.txt |-- casper (for bt4) | |-- filesystem.manifest | |-- filesystem.manifest-desktop | `-- filesystem.squashfs |-- clonezilla_root | |-- COPYING | |-- Clonezilla-Live-Version | |-- home | | `-- partimag | |-- live | | |-- eb.zli | | |-- filesystem.squashfs | | |-- freedos.img | | |-- gpxe.lkn | | |-- initrd1.img | | |-- memtest | | |-- packages.txt | | |-- parameters.txt | | `-- vmlinuz1 | |-- syslinux | | |-- chain.c32 | | |-- drblwp.png | | |-- memdisk | | |-- menu.c32 | | |-- ocswp.png | | |-- syslinux.cfg | | `-- vesamenu.c32 | `-- utils | |-- README.txt | |-- linux | | |-- VERSION.txt | | |-- makeboot.sh | | `-- syslinux | |-- mbr | | `-- mbr.bin | `-- win32 | |-- VERSION.txt | |-- makeboot.bat | `-- syslinux.exe |-- dban-floppy.img |-- dsl_root | |-- boot | | `-- isolinux | | |-- boot.cat | | |-- boot.msg | | |-- f2 | | |-- f3 | | |-- german.kbd | | |-- isolinux.bin | | |-- isolinux.cfg | | |-- linux24 | | |-- logo.16 | | `-- minirt24.gz | `-- index.html |-- freedos.img |-- grldr |-- grub-rescue-floppy.img |-- hirens_root | |-- Vdefs | |-- WinTools |-- konboot-1.1.img |-- memdisk |-- memtest |-- ntpasswd.img |-- ophcrack_root(works so excluded) | |-- boot |-- pmagic_root(works so excluded) | |-- boot | | `-- grub |-- pmagic | `--(important stuff) |-- sbm.img |-- super-grub_root | |-- grub | | |-- choose | `-- sgd | | `-- menu.lst | |-- menu.lst |-- tables | `-- vista_free |-- trinity_root | |-- boot.cat | |-- bootlogo.jpg | |-- initrd.trk | |-- isolinux.bin | |-- isolinux.cfg | |-- kernel.trk | |-- ldlinux.sys | |-- memdisk | |-- memtest.x86 | |-- pxelinux.0 | |-- pxelinux.cfg | |-- syslinux.cfg | |-- trinity.ico | |-- trk3 | `-- vesamenu.c32 `-- ubuntu-9.04-desktop-i386.iso I tried to make it as small as possible so there is a lot of stuff missing. Quote Link to comment Share on other sites More sharing options...
reliam Posted August 6, 2009 Share Posted August 6, 2009 Wish I would have read all the threads... mapping ISO's is much cleaner especially for the Trinity Rescue Kit I just mapped the ISO and renamed the USB to TRK_3-3 and it works. Edit: Nevermind it was feeding off the other files I removed them and the ISO alone is'nt working :\ Quote Link to comment Share on other sites More sharing options...
darkangleofd34th Posted August 6, 2009 Share Posted August 6, 2009 Thanksss!!!!!! Quote Link to comment Share on other sites More sharing options...
G-Stress Posted August 6, 2009 Share Posted August 6, 2009 I've read most of this thread and didn't see anything mentioned about U3? Forgive me if I missed it somewhere. Are you guys using U3 drives with the standard U3 partition? I have a SanDisk Cruzer 8GB with the standard U3 partition I haven't deleted or modified it yet. I copied the menu.ls file from the show notes and I have just about all the files on the drive except for the BackTrack files. When I boot off the drive It says (Try (hd0,0) FAT32:) for about 5 seconds then it says something else so fast I can't read it then just hangs with a flashing cursor. I posted earlier in the thread somewhere about an idea I had only I don't think I worded it that well. After 1 has a U3 loaded with their choice of tools couldn't they image that drive creating an .iso and then flash another drive with the ISO and have a duplicate? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.