You would have to ask a 'god of grub2', I am only a lesser 'god of grub4dos' and haven't had any ambrosia in a long time either
Boot BitDefender Rescue ISO from USB mystery
#26
Posted 20 April 2014 - 06:13 PM
#27
Posted 20 April 2014 - 06:34 PM
Happy Easter if you celebrate it. That was such a cool process. You have dedicated so much time to this. I find it amazing. I just got addicted to this stuff two weeks ago and now I want to manually get all live C.D., disk images whatever to work.
Why did you choose Grub4dos over Grub2 to dedicate yourself to?
#28
Posted 20 April 2014 - 06:39 PM
Well have a look at Easy2Boot which uses grub4dos and shows what can be done with it!
I chose grub4dos for these reasons:
1. Actively developed by chenall and others
2. Supports scripting/batch files
3. Easier to understand (compared to grub2 anyway!)
4. version 0.46a supports in-built USB 2 rd/wr driver and Joliet CDFS support
and...
5. It seemed like a good idea at the time!
#30
Posted 21 April 2014 - 08:38 PM
The trial version works for me. Do you have an ethernet cable connected? Is this from an ISO boot in E2B or what?
#31
Posted 21 April 2014 - 08:54 PM
I connected via ethernet to the internet. This is from the flat file or I extracted the ISO to a partition on the usb stick and loaded it using your list entry for grub4dos.
#32
Posted 21 April 2014 - 08:56 PM
Ad where and when did you download the ISO? Was it a trial version that has now expired?
#33
Posted 21 April 2014 - 09:12 PM
#34
Posted 21 April 2014 - 09:14 PM
Which one?
#35
Posted 21 April 2014 - 09:16 PM
BitDefenderRescueCD_v2.0.0_5_10_2010.iso and
bitdefender-rescue-cd.iso
Do you think I have an outdated version? Which do you have?
#36
Posted 21 April 2014 - 09:24 PM
Not sure. The top level folders inside the ISO are dated 28-03-2014 but I haven't tested it for a while...
#37
Posted 21 April 2014 - 09:31 PM
This is what I have.
dr-xr-xr-x 1 root root 2048 Mar 28 12:08 boot
dr-xr-xr-x 1 root root 2048 Mar 28 12:06 EFI
dr-xr-xr-x 1 root root 2048 Mar 28 12:07 rescue
dr-xr-xr-x 1 root root 2048 Mar 28 12:06 syslinux
#38
Posted 21 April 2014 - 09:41 PM
yep, still works. As soon as I accept the agreement it starts downloading the updates. Maybe it cannot see you ethernet/internet
#39
Posted 21 April 2014 - 09:42 PM
This might be of some interest. I ran Bitdefender on the comnandline and this is what I received. Do you think this fails because of the cd search error?
livecd@rescuecd ~ $ /home/livecd/.apps/scanner/bin/session-setup
LOOPFILE : /mnt/cdrom/boot/bitdefender/rescue/livecd.squashfs
HWID: 8e3c0c0be287a7daaacebd6a8fde9d758aec0248
LOOPDEV : /dev/sdb1
CDMOUNT : /mnt/cdrom
/usr/bin/find: ‘/mnt/cdrom/rescue/lib’: No such file or directory
Mounted read-write (0): $VAR1 = [
'/run/media/livecd/A4E0EECEE0EEA630'
];
Mounted read-only (-1): $VAR1 = [];
Logs: '/home/livecd/.apps/scanner/var/log' -> '/mnt/cdrom/RescueCD Logs'
#40
Posted 21 April 2014 - 09:51 PM
What is your exact menu.lst?
#41
Posted 21 April 2014 - 09:55 PM
title BitDefender Rescue
root (hd0,0)
ls /boot/bitdefender/
if not exist /boot/bitdefender/rescue/livecd.squashfs echo No squashfs on (hd0,0) && pause && configfile /menu.lst
set SQUASH=/boot/bitdefender/rescue/livecd.squashfs
set common=root=/dev/ram0 real_root=/dev/loop0 loop=%SQUASH% cdroot_marker=%SQUASH% initrd udev cdroot scandelay=2
set silent=quiet splash
set silent=
set lang=en
debug on
errorcheck on
kernel /boot/bitdefender/boot/kernel.i386-pc %common% %silent% lang=%lang%
initrd /boot/bitdefender/boot/initfs.i386-pc
#42
Posted 21 April 2014 - 10:02 PM
Did you move the folders?
Just copy the ISO contents to the root of the drive so it has the same folder structure.
Look in the \boot\syslinux\syslinux.cfg for the correct parameters for your ISO
Why do you have /boot/bitdefender/boot/initfs.i386-pc ?? my ISO doesn't even have that file...
#43
Posted 21 April 2014 - 10:06 PM
Inside the iso within the boot directory contains the following files.
-r--r--r-- 1 root root 2621440 Mar 28 12:08 efi.img
dr-xr-xr-x 1 root root 2048 Mar 28 12:06 grub
-r--r--r-- 1 root root 122305 Mar 28 12:06 grubi386.pc
-r--r--r-- 1 root root 6813084 Mar 28 12:06 initfs.i386-pc
-r--r--r-- 1 root root 6710076 Mar 28 12:06 initfs.x86_64-efi
-r--r--r-- 1 root root 5363040 Mar 28 12:06 kernel.i386-pc
-r--r--r-- 1 root root 4522352 Mar 28 12:06 kernel.x86_64-efi
"Why do you have /boot/bitdefender/boot/initfs.i386-pc" this is written in your example.
#44
Posted 21 April 2014 - 10:09 PM
cat ./syslinux/syslinux.cfg contains the following.
DEFAULT LINUX /boot/grubi386.pc
#45
Posted 21 April 2014 - 10:29 PM
I am getting an error now on the updates too about versions.sig file not matching versions.dat. It appeared to work and then errored The scan works but with old defs.
Maybe this free iso is not updateable? I don't think I ever waited for the updates to complete before.
#46
Posted 21 April 2014 - 10:41 PM
If you have encountered errors also, I will move on and wait until for a newer version.
#47
Posted 21 April 2014 - 10:47 PM
The ISOs are different!
You have BitDefenderRescueCD_v2.0.0_5_10_2010.iso which uses grub.
I tried booting this using Easy2boot from the ISO - it downloaded all the updates OK and started scanning.
I think you may have a parameter wrong
The grub.conf file has
set SQUASHFILE="/rescue/livecd.squashfs"
set kopts_common="root=/dev/ram0 real_root=/dev/loop0 loop=${SQUASHFILE} cdroot_marker=${SQUASHFILE} initrd udev cdroot scandelay=10"
set kopts_silent="quiet splash"
and the menu.cfg.i386-pc
linux /boot/kernel.i386-pc ${kopts_common} ${kopts_silent} lang=en
initrd /boot/initfs.i386-pc
but you have moved the folders - there is no \boot\bitdefender folder in the ISO
Can you move the folders to the root where they should be and use the correct paths and see if that works?
#48
Posted 21 April 2014 - 11:34 PM
I just tried the BitDefenderRescueCD_v2.0.0_5_10_2010.iso
I extracted the boot and rescue folder from it to the root of the USB drive and used this menu
title BitDefender Rescue if not exist /rescue/livecd.squashfs echo No squashfs on (hd0,0) && pause && configfile /menu.lst set SQUASH=rescue/livecd.squashfs set common=root=/dev/ram0 real_root=/dev/loop0 loop=%SQUASH% cdroot_marker=%SQUASH% initrd udev cdroot scandelay=2 set silent=quiet splash set silent= set lang=en debug on errorcheck on kernel /boot/kernel.i386-pc %common% %silent% lang=%lang% initrd /boot/initfs.i386-pc
It all worked fine when booting on my Asus EeePC from a USB Flash drive. It downloaded the Update and then started to scan.
So, as I thought. You have moved the folders but you may need to not move the \rescue\lib folder?
#49
Posted 22 April 2014 - 04:18 AM
Steve, why are the isos so particular about their location? When you are point to the exact location their files are located?
#50
Posted 22 April 2014 - 05:09 AM
Using your previous Bitdefender example it created a fourth partition on my usb. I never deleted it. I want to go back to it. Because the root of my USB has many other things on it already.
This is what the USB stick looks like.
Device Boot Start End Blocks Id System
/dev/sdd1 * 2048 62530623 31264288 c W95 FAT32 (LBA)
/dev/sdd4 14203712 15258431 527360 0 Empty
I tried below the following in the Grub4dos list but it can not find the files on the fourth partition. It claims it does not know of the partition existence. I tried root (hd0,4), root (hd0,2), root (hd0,2) and root (hd0,1) with no solution.
title BitDefender Rescue III
root (hd0,3)
if not exist /rescue/livecd.squashfs echo No squashfs on (hd0,3) && pause && configfile /menu.lst
set SQUASH=rescue/livecd.squashfs
set common=root=/dev/ram0 real_root=/dev/loop0 loop=%SQUASH% cdroot_marker=%SQUASH% initrd udev cdroot scandelay=2
set silent=quiet splash
set silent=
set lang=en
debug on
errorcheck on
kernel /boot/kernel.i386-pc %common% %silent% lang=%lang%
initrd /boot/initfs.i386-pc
Is there a command I can run from Grub4dos commandline that shows me all the partition? The fdisk command does not seem to exist in its limited shell.
Edited by lindylex, 22 April 2014 - 05:16 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users