2 Pages V   1 2 >  
Reply to this topic
 Grub4dos with Win7RescuePE & Kaspersky & Bitdefender rescue cd(working on 5 more...), Making DVD with Win7RescuePE and 7 antivirus progs
post Jan 27 2010, 03:14 PM
Post #1
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


Hi people,

this is my third post and second question...damned be the day when I learned about WinBuilder wink.gif

This is the thing...

I make, to be precise, winbuilder wizard makes for me bootable ISO and copies files on flash drive. And everything works great!!!
Then I try to implement Kaspersky into grub loader and when I do that on flash drive everything is ok and that loader boots fine, I just add folder named "kav_rescue_2008" with extracted all files from iso and edit my menu.lst to be like this:

CODE
splashimage /Boot/gentleblue.gz
timeout 10
default 0

title Windows 7 Live
chainloader /BOOTMGR

title Kaspersky Rescue-CD
kernel /kav_rescue_2008/isolinux/rescue subdir=/kav_rescue_2008 setkmap=us scandelay=5 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/kav_rescue_2008/image.squashfs cdroot
initrd  /kav_rescue_2008/isolinux/rescue.igz

title MemTest86+
kernel /Boot/memtest.bin

title CommandLine
commandline

title Reboot
reboot

title Halt
halt

There is some weird message "No media found" but he continues and starts kaspersky and I'm to tired to debug that its not a big deal.

On the other hand I can't manage to make that boot DVD with Kaspersky on it...I was searching on forum and reading all kind of topics...and nothing gave me an answer. There was one way to map iso that didn't work, the other way was to have to two lines in menu and extracted files that also didn't work, somebody is talking about 0xff and somebody about h32 or something like that on the end of the line as I get it its cd/hdd tried both and failed. I think that one time I manage to get some combination when CD just hangs for a min and then boot is started, I read later that got to do something with bug in linux kernel. But im not sure did that happened on usb or on dvd. :\ so nevermind that...

In any case I'm totally confused right now,trying to solve this for about a day and I don't get it really sad.gif.

When iso is like that he was made by winbuilder it boots ok...when I add that folder and edit menu.lst like on flash usb or like all other ways that I read on forum...I get that message "find /menu.lst, /grub/menu.lst...".
I also tried copying menu.lst to those locations,copying grldr to root because he in not there by default and all sorts of wild copying of anything that I got my hand on biggrin.gif nothing helped.

This is my "default" working structure of bootable Win7RescuePe iso:
CODE
Boot
Programs
sources
boot.catalog
BOOTMGR
menu.lst
setup.exe
Win7PE.cd
Win7PE.cfg


What do I need to copy/edit/change to add Kaspersky Rescue CD in that bootmanager? I can see that
grldr has different sizes on dvd and flash...so I guess maybe I need to edit him also,but how??
Is there some easy way? sad.gif I want also to add Bitdeffender and other rescue cd's...but as things look like now,that wont be soon.

Please somebody help me...I cant read no more posts,my eyes started to bleed and I'm still stuck sad.gif

Thanks in advance,

Leka.


+Quote Post
post Jan 27 2010, 08:43 PM
Post #2
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 2,277
Thank(s): 252


Italy


Actually this has nothing to do with Winbuilder and a lot to do with grub4dos.

From the contents of your questions it is clear that you did not take the time to READ the grub4dos guide:
http://www.boot-land.net/forums/index.php?showtopic=5187
nor to search the board for similar topics.


With all due respect smile.gif most of your questions/doubts seem to derive more from "assumptions" or "hearsay" or "semi-random thoughts in freedom" than from actually haveing done the above missing some detail or misunderstanding a few advanced topics.

You need to read the guide, and you need to understand the very basics of grub4dos in order to ask the "right" question and then understand the (hopefully) right answer to them you may get here.

cheers.gif

Wonko


--------------------
+Quote Post
post Jan 27 2010, 09:40 PM
Post #3
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


I solved part of a problem!!! biggrin.gif I had problem with PowerISO!!!

He was the program that I used to edit that working Win7RescuePE and when I save iso with him it remains bootable but he damages bootloader somehow. When I started to use MagicISO to add files to iso I dont get that error of missing menu.lst.
In short,one tip...Don't use PowerISO!!! smile.gif

Believe me questions are not on assumptions its on try-fail basis, I tried everything that I found and still failed...for about 20 hours strait sad.gif ...and we can see now why wink.gif I didn't want to go in details because I was sure that all of you know what I'm talking about and I was without a sleep for about 40 hours...so apologize if I didn't explained everything in total.

Now I can boot....but....when disc starts it hangs for 30 seconds (like default timeout). I explored folders a little bit and found in isolinux subfolder isolinux.cfg file and edited him like I read somewhere as I understand we will not prompt at all:
CODE
default rescue
timeout 100
prompt 0
display boot.msg
F1 F1.msg
label rescue
  kernel rescue
  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=rescue.igz quiet noapic

label rescue-safe
  kernel rescue
  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=rescue.igz nox trace noapic

label rescue-trace
  kernel rescue
  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=rescue.igz quiet trace noapic

label rescue-text
  kernel rescue
  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=rescue.igz console=tty2 console=ttyS2,115200 softlevel=iamt nox kavshell trace noapic


So from where is that 30 sec timeout coming?? Or thats because that kernel bug? Any suggestion?

P.S. I don't know if that's because my ISP but I have a big problem opening forum pages today,Im wondering what would gone bad next,maybe piano will wall on my head or something wink.gif

P.P.S. I look now at your link.
+Quote Post
post Jan 27 2010, 09:48 PM
Post #4
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


BINGO!!! rolleyes.gif

I just remembered that in default menu.lst there was no link to skin in first row!! I removed first link and it
booted in second.
Ok that was solved...I hope my suffering will help someone in future smile.gif

I'll post if something new come up...and I'll try to post step-by-step if I have time for all noobs like me biggrin.gif

1 user(s) said "Thank you!" to Leka for this fantastic post:
PaPeuser
+Quote Post
post Jan 28 2010, 01:44 PM
Post #5
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 2,277
Thank(s): 252


Italy


Yep smile.gif, the thing that is not often enough reminded is to NEVER use ISO editors, unless you ALREADY proved that they work for the particular action/particular build. (sort of CATCH 22 wink.gif)

There are a number of reports from people getting simply MAD until they either realized (or confessed happy22.gif) they were using an ISO editor of some kind instead of re-building the .iso from scratch.

The board from time to time gets unresponsive, don't worry, it's not your fault smile.gif, there are intermittent problems of too many accesses or bandwith limit or whoatever.

Still I am missing the reason why you don't use the already found ways:
http://www.boot-land.net/forums/index.php?showtopic=8397
http://www.boot-land.net/forums/index.php?...=5041&st=30
as they seem to me simpler than what you managed to put together (if I get it right you are now chainloading the internal Isollinux/Syslinux? dubbio.gif)

cheers.gif

Wonko


--------------------
+Quote Post
post Jan 28 2010, 09:47 PM
Post #6
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


QUOTE (Wonko the Sane @ Jan 28 2010, 02:44 PM) *
as they seem to me simpler than what you managed to put together (if I get it right you are now chainloading the internal Isollinux/Syslinux? dubbio.gif)


Tbh I don't know biggrin.gif
Maybe because saying rtfm is in my head ctfmc (copy-the-fucking-manual-code) wink.gif And that code is the first one that worked for me so I'm at "if it's working don't try to fix it!" basis now, but I'll try to experiment now when I have this thing working wink.gif

This was just separate problem maybe because that I lost my nerve and used just the first solution that came in my hand.

[Unimportant text about topic on]

My original idea was to make Live Win 7 with antivirus and some other programs...in real time like few days that I had to spare on that wink.gif At start I bumped on first problem because for some reason, I don't remember I couldn't start winbuilder at all,downloading and trying different Win DVD and stuff...and then winbuilder files was strangely un-deletable...I couldn't delete then or that folder,that must be because that mounting/unmounting issues.Then I made win7rescuePE on other computer and from him deleted this folder. You where also helping me on that topic,I think smile.gif So up to that point i had waisted about 2 days...then I made my first Win7RescuePE and tried to implement Kaspersky antivirus and that didn't come out well...I used MakeScript and that H7 tool and also InstallRite to try to scan and pack all files and registry keys that program needs( I used WPIW before so I knew partially what I needed) but I still couldn't make it to work,in some easy way, I guess I would made it work eventually but I don't have that time now and that was just one AV prog what about others?? smile.gif and there I wasted about 2 more days.
Then I found out about antivirus rescue cd's that was great alternative...and I run to all these problems new problems...and that was about a week waisted without a thing that I wanted in first place biggrin.gif
Lets hope things will go smother from now wink.gif

[Unimportant text about topic off]

Sorry for all of this bla-bla-bla off-topic but I had to take it out of my system wink.gif I'll put tags so people can jump over it. smile.gif
+Quote Post
post Jan 30 2010, 08:42 PM
Post #7
maanu
Silver Member   ****
Group: Advanced user

  Joined: 31-October 08
Posts: 949
Thank(s): 169


Pakistan


for iso chain loading , i used the following dirty workaround ,

open kaspersky iso , drag out bases folder AND image.squashfs outside it to root of C drive or whatever location ,

now , MAKE sure you use ultra iso with following technique if you decide to edit an iso made with grub4dos loader ,

CODE
REGEDIT4

[HKEY_CURRENT_USER\Software\EasyBoot Systems\UltraISO\5.0]
"AdjustNoEMU"="1"


(copy paste the above code in txt file , save it , edit.reg . then double click and enter to registry ) ,

now copy bases folder and image.squashfs at root of your final iso , and just copy the previously edited kaspersky iso (which will be now about 7 MB ) to root of final iso . and use the following to load it ,

map --mem /KAV.ISO (0xff)
map --hook
chainloader (0xff)

make sure to use block letters while working in dvd media . above method is hybrid and works for hdd/usb/dvd .

p.s there is a batch file by agni somewhere here on forums , which can make an updated kaspersky iso .
3 user(s) said "Thank you!" to maanu for this fantastic post:
Galapo, Lancelot, Leka
+Quote Post
post Jan 31 2010, 09:06 AM
Post #8
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 2,277
Thank(s): 252


Italy


maanu,
I have to report I cannot understand most of the procedure in your post. w00t.gif

Can you try re-wording it adding some more details and possibly add a DIR of the "old" .iso and of the "edited" .iso?

cheers.gif

Wonko


--------------------
+Quote Post
post Jan 31 2010, 01:11 PM
Post #9
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


@ maanu

Thanks man for those few tips about ultraISO setting and capital letters when working with DVD. But it look's like I have problem with everything else.

First,when I use your method I get that "Press Enter to start" message,I didn't get that with that other method and other thing is that I get this error message...
(I'm booting in VirtualBox if that got anything to do with this)


Any more tips? smile.gif
+Quote Post
post Jan 31 2010, 08:14 PM
Post #10
Leka
Newbie   *
Group: Members

  Joined: 21-January 10
Posts: 17
Thank(s): 2


Yugoslavia


Fresh, fresh information....get it while it's fresh!!! happy.gif

I need to be magician to work with this UltraISO and to still end up with working ISO's smile.gif This are a little tips
on how you can edit your ISOs and still use them.

First un-check all settings in Options>Configuration>Save. Then execute that reg in two posts above or just change that registry key from regedit ,like me wink.gif
And then magic starts biggrin.gif

When I open my kav_rescue_2008.iso to edit it (extract base and image and delete them, save that ISO) if I just click on save UltraISO will change that image and it will not boot any more. So you need to do this before you save...
Go to File>Properties... and check "Allow lower case names" then save your ISO. Here is how that menu looks like:

If you don't check it, UltraISO will change disk name to uppercase(and who knows what else) this way ISO stays in "default"/working format.

Now my next step was to edit Win7RescuePE.iso to add that Kaspersky iso to my Win7 dvd...
I opened Win7RescuePE.iso and added bases and that other file and also kav iso (with or without those two files inside,I tried both ways) again when you save your ISO it will boot first time and if you make another change and save again...it will never boot again...so this is the magic that you need to do here smile.gif
After editing and before a save go to:
File>Properties...and un-check "Omit ISO 9960 version number"(what a crazy setting O_o) and check again (if not checked) "Allow lower case names" and then save your ISO.

These are just settings that you need to check and they will allow you to edit ISOs few times and to avoid loosing your time(and hair) on debugging wrong problems when your DVD doesn't boot...like me biggrin.gif

I still have problem with that "No media found" when loading Kaspersky(look at the picture above) so if someone can help,I'm all ears wink.gif
+Quote Post

2 Pages V   1 2 >
Reply to this topic
2 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts Grub4dos iso Size Limit?
1 sara - pmedia 106 Yesterday, 08:31 AM
Last post by: Wonko the Sane
No New Posts KasperskyVirusRemovalTool
9 Lancelot 1,566 30th August 2010 - 07:00 PM
Last post by: Rui Paz
No new grub4dos booting ubuntu iso
29 mipstien 12,435 27th August 2010 - 10:27 AM
Last post by: Wonko the Sane
No New Posts Kaspersky rescue cd 10 pxe boot?
questions and help needed regarding pxe booting the kaspersky rescuecd
3 kineticembryo 504 25th August 2010 - 10:29 PM
Last post by: kineticembryo
No new Topic has attachmentsGRUB4DOS + WinVBlock
47 Sha0 2,744 25th August 2010 - 01:12 PM
Last post by: Wonko the Sane