Jump to content











Photo

Booting WifiWay 3


  • Please log in to reply
13 replies to this topic

#1 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 10 January 2012 - 11:51 PM

Hello

I've tried to add WifiWay 3.0v3 ISO to a USB using XBOOT.
http://www.multiupload.com/R5UGW8YR7N
It's a live Linux specially made for auditing security.


It starts to boot properly but later I get a ramdisk error.

If instead of XBOOT I copy the content of the ISO file and I use this command:

syslinux.exe -maf -d bootsyslinux F:

it works properly. Then the USB and the ISO are right.


I'd like to be able to use Xboot because that way I could have a multiboot USB.
What options I need?. I've tried many.
Could yo please add it to XBOOT if it wasn't possible yet?

regards

Edited by skan, 10 January 2012 - 11:51 PM.


#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 11 January 2012 - 11:21 AM

I have tried to get this to boot as an ISO file and failed. According to the cheatcodes.txt file inside the iso, it should support the from=/wifiway-3.0-final-v3.iso switch so that it looks for and loads the iso when in loads initrd, but this does not seem to work.



title wifiway.iso

map /wifiway-3.0-final-v3.iso (0xff)

map --hook

root (0xff)

kernel /boot/vmlinuz from=/wifiway-3.0-final-v3.iso   noload=Ati*;Nvidia* root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/changes/changes.dat

initrd /boot/initrd.xz


The above menu for grub4dos only works if you also copy the /wifiway folder to the root of the USB boot drive.

Since this almost doubles the payload size, you might as well

1 copy /wifiway folder to the USb drive
2 copy the initrd.xz and vmlinuz files from the /boot folder of the iso file into the USB /wifiway folder
3. use the menu below



title wifiway flat file boot

find --set-root /boot /wifiway/livecd.sgn

kernel /wifiway/vmlinuz  noload=Ati*;Nvidia* root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/changes/changes.dat

initrd /wifiway/initrd.xz


If you want more menu entries, look in the /boot/wifiway.cfg file.

http://www.rmprepusb...torials/wifiway

#3 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 11 January 2012 - 11:43 AM

Thanks
I'll try it

#4 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 11 January 2012 - 11:47 PM

Excuse me but Do I need to modify the menu.lst file, the syslinux.cfg or the system.cfg one ?
I can't get it work.

Edited by skan, 11 January 2012 - 11:49 PM.


#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 12 January 2012 - 12:17 AM

Excuse me but Do I need to modify the menu.lst file, the syslinux.cfg or the system.cfg one ?
I can't get it work.

http://www.rmprepusb...torials/wifiway

#6 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 12 January 2012 - 01:07 AM

Hello

I've got it
I've being trying your suggestions with XBOOT and YUMI.

There are two possibilities:
To copy the Wifiway folder to the USB root and copy inside that folder vmlinuz and initrd.xz
and paste this code at the multiboot/menu/system.cfg file
(Note that the first line has changed from yours)

label <-- WifiWay
find --set-root /boot /wifiway/livecd.sgn
kernel /wifiway/vmlinuz noload=Ati*;Nvidia* root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/changes/changes.dat
initrd /wifiway/initrd.xz



OR copy the iso file in the ISO folder. Here we don't need any other folder nor copying vmlinuz.
and paste this code at the multiboot/menu/menu.lst

title Boot wifiway-3.0-final-v3.iso
find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/wifiway-3.0-final-v3.iso
map --heads=0 --sectors-per-track=0 /multiboot/ISOS/wifiway-3.0-final-v3.iso (hd32)
map --hook
chainloader (hd32)



I prefer the last option because allows you to access WifiWay menu and then choose more options.

#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 12 January 2012 - 09:59 AM

Are you sure the last menu boots correctly all the way to the linux Desktop??
'label' is not a grub4dos command, it should be title??

#8 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 12 January 2012 - 10:38 AM

Hello

Maybe I'm mixing things
I've tried the last menu with YUMI instead of XBOOT.
Yumi uses menu.lst for GRUB. And there the proper word is title.
And uses the file system.cfg for booting directly with syslinux. And There the proper word is label.
I've also tried the second code (with Wifiway folder) at menu.lst for GRUB and didn't work, that's why I tried it directly with syslinux

#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 12 January 2012 - 10:43 AM

So does this definitely boot all the way to the GUI desktop with no /wifiway folder on the USB drive at all?

title Boot wifiway-3.0-final-v3.iso

find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/wifiway-3.0-final-v3.iso

map --heads=0 --sectors-per-track=0 /multiboot/ISOS/wifiway-3.0-final-v3.iso (hd32)

map --hook

chainloader (hd32)



I don't think this works unless you also have a /wifiway folder present...

#10 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 13 January 2012 - 08:53 PM

...

Edited by skan, 13 January 2012 - 08:59 PM.


#11 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 13 January 2012 - 08:56 PM

Hello again

You are right, I don't know what mess I made but now I can't boot the iso alone.

Maybe the answer to the problem is to use map, something like this


title WifiWay 3.3

find --set-root --ignore-floppies --ignore-cd /multiboot/ISOS/wifiway-3.4.iso

map  /multiboot/ISOS/wifiway-3.4.iso (hd32)  #(hd32)

map --hook

kernel /wifiway/vmlinuz noload=Ati*;Nvidia* root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/changes/changes.dat

initrd /wifiway/initrd.xz

boot



This should be written in the menu.lst file. And it won't use the internal wifiway boot menu. It would boot the directly the kernel with just one option.
But it doesn't work for me. Please could yo help me?
I've been reading and maybe it needs some additional option, such as


file=/something boot=something iso-scan/filename=/multiboot/ISOS/wifiway-3.4.iso
or
find --set-root /boot /wifiway/livecd.sgn

#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 13 January 2012 - 08:57 PM

http://www.rmprepusb...torials/wifiway
You cannot do it from an iso (at least I can't) - please read the web page above...

#13 skan

skan
  • Members
  • 8 posts
  •  
    Spain

Posted 13 January 2012 - 09:03 PM

http://www.rmprepusb...torials/wifiway
You cannot do it from an iso (at least I can't) - please read the web page above...


I read that post some days ago.
Maybe it's not possible to boot that iso in order to use its own boot manager. What I say is not to use that bootmanager but directly boot the kernel from XBOOT, using the options I want..

Edited by skan, 13 January 2012 - 09:04 PM.


#14 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 13 January 2012 - 09:07 PM

I don't think you can boot just from the iso file, once the initrd kernel loads all BIOS int patches are ignored as linux is in protected mode and accesses the hardware directly. If you look at the cheats.txt file which is actually inside the iso, it says that "from=/path/mmm.iso" can be used to specify the iso filename, but I tested that cheat code and the isoscan/filename one and they did not work.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users