Jump to content

Im having problems....


P@c_M@n
 Share

Recommended Posts

Okay, i got my 16 gig drive and i got some things to work, but not others. I have been gathering code snippets from the forums and pasting them in but nothing seems to work yet. Heres my menu.lst

color blue/black yellow/blue
timeout 120

title BackTrack 4 PreFinal
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317
initrd /bootbt4/initrd.gz

title Damn Small Linux
kernel /dsl/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off 

vga=789 initrd=minirt24.gz nomce noapic quiet BOOT_IMAGE=dsl
initrd /dsl/minirt24.gz
boot

title Ubuntu 9.10
find --set-root /ubuntu-9.10-desktop-i386.iso
map /ubuntu-9.10-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-

scan/filename=/ubuntu910.iso quiet splash locale=en.UTF-8 --
initrd /casper/initrd.lz
boot

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

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

title Hirens Boot cd
find --set-root /HBCD/boot.gz
map --mem /HBCD/boot.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot

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

title Memtest86
kernel /memtest.bin

Heres my bt4.lst

default 0
timeout 30

splashimage=/bootbt4/grub/bt4.xpm.gz

title Start BackTrack FrameBuffer (1024x768)
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317
initrd /bootbt4/initrd.gz

title Start BackTrack FrameBuffer (800x600)
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x314
initrd /bootbt4/initrd800.gz

title Start BackTrack Forensics (no swap)
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw vga=0x317
initrd /bootbt4/initrdfr.gz

title Start BackTrack in Safe Graphical Mode
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper xforcevesa rw quiet
initrd /bootbt4/initrd.gz

title Start Persistent Live CD
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd /bootbt4/initrd.gz

title Start BackTrack in Text Mode
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent textonly rw quiet
initrd /bootbt4/initrd.gz

title Start BackTrack Graphical Mode from RAM
root (hd0,0)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper toram nopersistent rw quiet
initrd /bootbt4/initrd.gz

title mainmenu
root (hd0,0)
configfile /menu.lst
savedefault

title
kernel
initrd

title Return to Main Menu
configfile /menu.lst

The things im having trouble with are backtrack 4, Dsl, Ubuntu 9.10, and Kon-boot. Anyone have some advice for me? Thanks.

Link to comment
Share on other sites

Oh, sorry. My bad.

With Bt4 it delivers me to the starting screen and asks me for login name and password. I try to log in as root with password toor, but the screen goes black until i press the power button. Then, once i press the power button, it asks me to take out the bt4 disk and press enter, like i just shut the system down.

For Konboot, it delivers a dummy bios error and doesn't bypass the passwords like it should. Of course, konboot has never been kind to me.

And for Ubuntu 9.10 it will not boot up. It usually says something like 'file not found' or it drops me to a shell.

My OS is windows vista and the drive is a san disk cruzer.

Link to comment
Share on other sites

Hrm. This is my directory tree for BT4:

|-- bootbt4
| |-- bootsplash
| |-- grub
| | |-- bt4.lst
| | |-- bt4.xpm.gz
| | |-- bt4boot.xpm.gz
| | `-- stage2_eltorito
| |-- initrd.gz
| |-- initrd800.gz
| |-- initrdfr.gz
| |-- memtest86+.bin
| `-- vmlinuz
|-- casper
| |-- filesystem.manifest
| |-- filesystem.manifest-desktop
| `-- filesystem.squashfs

menu.lst

### Back|Track 4 Pre ###
title BackTrack 4
configfile /bootbt4/grub/bt4.lst

bt4.lst:

# By default, boot the first entry.
default 0

# Boot automatically after 30 secs.
timeout 30

#splashimage=/bootbt4/grub/bt4boot.xpm.gz


title Start BackTrack FrameBuffer (1024x768)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317
initrd /bootbt4/initrd.gz

title Start BackTrack FrameBuffer (800x600)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x314
initrd /bootbt4/initrd800.gz

title Start BackTrack Forensics (no swap)
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent rw vga=0x317
initrd /bootbt4/initrdfr.gz

title Start BackTrack in Safe Graphical Mode
kernel /bootbt4/vmlinuz BOOT=casper boot=casper xforcevesa rw quiet
initrd /bootbt4/initrd.gz

title Start Persistent Live CD
kernel /bootbt4/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd /bootbt4/initrd.gz

title Start BackTrack in Text Mode
kernel /bootbt4/vmlinuz BOOT=casper boot=casper nopersistent textonly rw quiet
initrd /bootbt4/initrd.gz

title Start BackTrack Graphical Mode from RAM
kernel /bootbt4/vmlinuz BOOT=casper boot=casper toram nopersistent rw quiet
initrd /bootbt4/initrd.gz

title Memory Test
kernel /bootbt4/memtest86+.bin

title Boot the First Hard Disk
root (hd1)
chainloader +1

title
kernel
initrd

title Return to Main Menu
configfile /menu.lst

It looks like the entry is correct in yer bt4.lst, since it's the same as mine. Try using what I have instead of the entry in menu.lst.

Did you verify the md5sum of the BT4 iso?

title Ubuntu 9.10
find --set-root /ubuntu-9.10-desktop-i386.iso
map /ubuntu-9.10-desktop-i386.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-

scan/filename=/ubuntu910.iso quiet splash locale=en.UTF-8 --
initrd /casper/initrd.lz
boot

Here's mine. I think the problem lies in the bolded parts.

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

I don't know why Kon-Boot isn't working, as the menu.lst entry looks fine.

Link to comment
Share on other sites

This is my directory tree for bt4.

-bootbt4
     -bootsplash
     -initrd.gz
     -initrd800.gz
     -initrdfr
     -memtest 86+.bin
     -vmlinuz
     -grub
        -bt4.lst
        -bt4.xpm.gz
        -stage2_eltorito
-casper
    -filesystem.manifest
    -filesystem.manifest-desktop
    -filesystem.squashfs

I dont have your bt4boot.xpm.gz

Could that be the problem?

Link to comment
Share on other sites

Wait, i have the casper folder named casperbt4. I read somewhere that two isos with casper folders cant coexist. Is that true?

That is correct.

I've got both BT4 and Ubuntu on the same multipass, but only cuz I boot ubuntu directly from the iso.

it would have to be named "casper."

Link to comment
Share on other sites

Okay, Bt4 is working since I renamed the folder to just casper, but Ubuntu still refuses to boot up. I also tried to add some rescue cds, but some will not work.

Here's the menu.lst of the things that wont work.

title System Rescue CD
kernel /rescuecd.img initrd=initram.igz video=ofonly vga=0 scandelay=5
initrd /initram.igz

title Kasperky Rescue Disk
map /kav_rescue_2008.iso (hd32)
map --hook
chainloader (hd32)

title Avira Rescue CD
map /Avira-rescue-CD.iso (hd32)
map --hook
chainloader (hd32)

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

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

The system rescue CD gives me an error saying it cannot find the file.

Ubuntu 9.10 gives me the following error:

Error 60: File for drive emulation must be in one contiguous disk area.

Kapersky Rescue Disk boots into the dos, but then it gives me this error:

!!Media not found
>>no bootable medium found. Waiting for new devices.
>>looking for the cdrom
>>attempting to mount media:-/dev/sr0
>>attempting to mount media:-/dev/sr1
>>attempting to mount media:-/dev/sda1
>>attempting to mount media:-/dev/sda2
>>attempting to mount media:-/dev/sdb1
>>attempting to mount media:-/dev/sdc
!!Media not found
!!Could not find CD to boot, something else needed!
>>determining root device...
!!Could not find the root block device in .
                Please specify another value or : press Enter for the same. Type 'shell' for a 
            shell or a to skip...
root block device():

Avira Rescue CD does boot up, but then it freezes and I can't access any of the sections. This may be a case of a corrupt file though since I can still boot up into the rescue cd at first.

Link to comment
Share on other sites

This should work if you make a folder on the root of your usb named kav and put the kaspersky image.squashfs in it.

Also make a folder called /boot/kav and put your rescue kernel image and rescue.igz in it that is on the kaspersky boot iso.

The BASES folder needs to be on the root of your usb.

title Kaspersky-Disk-Rescue

kernel /boot/kav/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/kav/image.squashfs cdroot quiet noapic

initrd /boot/kav/rescue.igz

Link to comment
Share on other sites

This is how my MultiPass menu.lst and everything else looks like. I hope someone finds it useful

splashimage /MultiPass001.xpm.gz

color white/black green/black
timeout 120


title Boot The First Hard Disk
rootnoverify (hd1)
chainloader +1


title BackTrack 4: Penetration testing toolkit
configfile /bootBT4/grub/BT4menu.lst
savedefault


title Ubuntu 9-10 LiveCD
find --set-root /Ubuntu-910.iso
map /Ubuntu-910.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdroom/preseed/ubuntu.seed boot=casper iso-scan/filename=/Ubuntu-910.iso quiet splash locale=en.UTF-8 persistent --
initrd /casper/initrd.lz


title Windows XP/2000/2003 Setup- First and Second parts
root (hd0,0)
configfile /winsetup.lst
savedefault
//Directory is excluded in tree still testing this, please refer to notes at the bottom of the tree output//


title Kon-Boot-test: Bypass Logon for Windows and Linux - Login name is root.
map --mem /konboot-v1.1.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)


title Memtest86: Advanced Memory Diagnostic Tool.
map (hd0,0)/memtest86+-4.00.iso (hd32)
map --hook
chainloader (hd32)
boot
//Mem-test is called directly from an ISO on the root here.//


title NTpasswd: Password Recovery on Vista/XP.
kernel /NTpasswd/vmlinuz rw vga=1 initrd=/NTpasswd/initrd.cgz /ntpasswd/scsi.cgz
initrd /NTpasswd/initrd.cgz


title System Rescue CD: repair unbootable or otherwise. damaged computer systems map root (hd0,0)
kernel /rescuecd init=/linuxrc cdroot=/dev/sda1 setkmap=us
initrd /rescuecd.igz

title Trinity Rescue Kit - ISO
map --mem (hd0,0)/trinity-rescue-kit.3.3-build-334.iso (hd32)
map --hook
chainloader (hd32)
boot


title DBAN: Hard Drive Disk Wipe and Data Clearing.
kernel /memdisk
initrd /DBAN.img


title FreeDOS: free DOS-compatible operating system for IBM-PC compatible systems.
map (hd0,0)/FreeDOS.iso (hd32)
map --hook
chainloader (hd32)
boot
//FreeDOS is called directly from an ISO on the root here. Not all software’s can be used like this.//
title
kernal
initrd
# --- Notes ---
title Notes
configfile /menu2.lst
savedefault

title Serials select and press E to view
map Windows 7 64b        XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
kernel
boot
//By pressing E you may see predefined keys then return to your menu with this entry//


# --- Shutdown ---
title Shut Down the System
halt
# --- Reboot ---
title Reboot the System
reboot

Except for System Rescue CD.. everything else is working. Althought my Ubuntu is working, i doubt it is the way it should, but either way it is working

I/ Backtrack

-Unzip ur iso file using 7zip and copy the 2 boot folder

- This part is VERY IMPORTANT: make sure you go to boot/grub/menu.lst and change the original menu.lst

** as you will see below, i changed the name of my boot from boot to bootBT4

# By default, boot the first entry.

default 0


# Boot automatically after 30 secs.

timeout 30


splashimage=/bootBT4/grub/bt4.xpm.gz

foreground e3e3e3

background 303030



title Start BackTrack FrameBuffer (1024x768)

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

initrd /bootBT4/initrd.gz



title Start BackTrack FrameBuffer (800x600)

kernel /bootBT4/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x314

initrd /bootBT4/initrd800.gz



title Start BackTrack Forensics (no swap)

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

initrd /bootBT4/initrdfr.gz



title Start BackTrack in Safe Graphical Mode

kernel /bootBT4/vmlinuz BOOT=casper boot=casper xforcevesa rw quiet 
initrd /bootBT4/initrd.gz



title Start Persistent Live CD

kernel /bootBT4/vmlinuz BOOT=casper boot=casper persistent rw quiet 
initrd /bootBT4/initrd.gz

title                

Start BackTrack in Text Mode

kernel /bootBT4/vmlinuz BOOT=casper boot=casper nopersistent textonly rw quiet

initrd /bootBT4/initrd.gz

title                

Start BackTrack Graphical Mode from RAM

kernel /bootBT4/vmlinuz BOOT=casper boot=casper toram nopersistent rw quiet 

initrd /bootBT4/initrd.gz


title Memory Test

kernel /bootBT4/memtest86+.bin


title Boot the First Hard Disk

root (hd0)
chainloader +1

title
kernel
initrd

title Return to Main Menu
configfile /menu.lst

II/ Ubuntu9-10

- You need the iso file in your MultiPass root

- make another copy of the iso file (on your desktop and unzip it), then copy the casper file

III/Overall

- MAKE SURE THAT THE NAME & EXTENSIONS OF THE FILES (ISO, IMG and so on) IN YOUR MULTIPASS IS THE SAME AS THE ONES IN YOUR MENU

- If you have any question just let me know and i'll try the best that i can to help.

- Any help with the System Rescue CD is welcomed

Thanks

Link to comment
Share on other sites

I fixed my: System Rescue CD, here is the code

title System Rescue CD: repair unbootable or otherwise. damaged computer systems map root (hd0,0)
kernel /rescuecd initrd=initram.igz video=ofonly vga=0 scandelay=5
initrd /initram.igz

@phen1x13 Awesome. Thanks. I fixed Ubuntu 9.10 on mine. The only things that arent working are konboot, kapersky rescue disk, system rescue cd, and avira rescue disk.

@nemysys Kapersky Rescue disk gives me the same error. Im going to try and re-download it and see if the file got corrupted or something. The iso worked fine in virtual box though.

Link to comment
Share on other sites

@phen1x13 Awesome. Thanks. I fixed Ubuntu 9.10 on mine. The only things that arent working are konboot, kapersky rescue disk, system rescue cd, and avira rescue disk.

My konboot and system rescue cd work so you can copy that part of my menu as well. I'm sure it'll work fine for you.

For konboot download the Floppy image, and unzip it with 7zip. Then extract the image (that will be the only thing you will need). And for Sys Rescue CD, same thing. Download the iso,, use 7zip, and extract rescuecd and initram.igz. Both are in the isolinux folder. I don't have the rest of them so i am unable to help you there, sorry. I'm sure someone in the forum has it.

Check this post:

http://hak5.org/forums/index.php?showtopic...0&start=400

Link to comment
Share on other sites

No it should look like this;

--BASES
--boot
    --help
    --isolinux
    --kav
       --rescue.igz
       --rescue
--kav
    --image.squashfs

Ok, so the file structure should look like this?

--bases
--boot
    --help
    --isolinux
    --kav
      --image.squashfs
      --rescue.igz
      --rescue

thanks.

It would work your way if you changed the

loop=/kav/image.squashfs

to read

loop=/boot/kav/image.squashfs

Link to comment
Share on other sites

-sigh- System Rescue cd and kapersky rescue disk are not working, and kon boot still has the dummy bios error.

Im going to get my head around this tomorrow. I need sleep.

Here is my menu.lst and my directory tree. I only included the parts that are screwed up.

title System Rescue CD: repair unbootable or otherwise. damaged computer systems map root (hd0,0)
kernel /rescuecd initrd=initram.igz video=ofonly vga=0 scandelay=5
initrd /initram.igz

title Kaspersky Rescue Disk
kernel /boot/kav/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=boot/kav/image.squashfs cdroot quiet noapic 
initrd /boot/kav/rescue.igz

title Avira Rescue CD
map /Avira-rescue-CD.iso (hd32)
map --hook
chainloader (hd32)

title Kon-Boot-test: Bypass Logon for Windows and Linux - Login name is root.
map --mem /FD0-konboot-v1.1-2in1.img (fd0)
map --hook
chainloader (fd0)+1
map (hd1) (hd0)
map --hook
rootnoverify (fd0)

Files on the root of my drive

-dban.img
-memtest.bin
-FD0-konboot-v1.1-2in1.img
-gldr
-LaunchU3
-menu.lst
-rescuecd
-initram.igz
-Avira-rescue-CD.iso

Kapersky Rescue CD

--bases/
--boot/
  --help/
  --isolinux/
  --kav/
    -image.squashfs
    -rescue
    -rescue.igz

System Rescue CD

-rescuecd
-initram.igz
--isolinux/
--bootdisk/
--bootprog/
--ntpasswd/

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...