Jump to content











Photo
- - - - -

Grub4Dos and "live.linux-gamers" ???


Best Answer islogged , 27 February 2013 - 02:01 PM

Hi,

 

Second time you help me!

and

Second time you solve my pb !

 

Thank you.

Go to the full post


  • Please log in to reply
12 replies to this topic

#1 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 24 February 2013 - 11:36 PM

Hello

 

Someone know how i can boot "live.linux-gamers" big edition with Gru4Dos ?

 

Big Thanks



#2 steve6375

steve6375

    Platinum Member

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

Posted 25 February 2013 - 11:51 AM

Can you boot the Lite edition OK or haven't you tried?

What have you tried so far?



#3 steve6375

steve6375

    Platinum Member

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

Posted 25 February 2013 - 12:27 PM

This works for Lite version  Note that the 4th partition table entry in the USb drive partition table must be empty or it will be destroyed! See my Easy2Boot tutorial - it will boot most linux iso's - all you have to do is copy the ISO to the USB drive (no menu editing required)!

 

title lglive-0.9.7-i686-hybrid-lite.iso
map /lglive-0.9.7-i686-hybrid-lite.iso (0xff)
partnew (hd0,3) 0x00 /lglive-0.9.7-i686-hybrid-lite.iso
map --hook
root (0xff)
chainloader (0xff)

 



#4 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 25 February 2013 - 03:41 PM

Thx for answer :

 

This works for Lite version

 

It's mean it don't work for full version ?



#5 steve6375

steve6375

    Platinum Member

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

Posted 25 February 2013 - 03:45 PM

It's mean I don't want to download 4GB to test it! Why don't you test it?



#6 steve6375

steve6375

    Platinum Member

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

Posted 26 February 2013 - 12:27 PM

For the lite version with persistence (the $HOME directory will keep any files after reboot), try

#must enable parttype output
debug on
# make empty table entry in 4th position in ptn table
parttype (hd0,3) | set check=
set check=%check:~-5,4% > nul
if "%check%"=="0x00" partnew (hd0,3) 0 0 0 > nul
if not "%check%"=="0x00" echo WARNING: PTN TABLE 4 IS ALREADY IN USE! && pause && configfile /menu.lst
# make empty table entry in 3rd position in ptn table
parttype (hd0,2) | set check=
set check=%check:~-5,4% > nul
if "%check%"=="0x00" partnew (hd0,2) 0 0 0 > nul
if not "%check%"=="0x00" echo WARNING: PTN TABLE 3 IS ALREADY IN USE! && pause && configfile /menu.lst

title lglive-0.9.7-i686-hybrid-lite.iso with partnew LGLIVE_HOME 
map /lglive-0.9.7-i686-hybrid-lite.iso (0xff) 
partnew (hd0,3) 0x00 /lglive-0.9.7-i686-hybrid-lite.iso 
partnew (hd0,2) 0x00 /LGLIVE_HOME 
map --hook 
root (0xff) 
chainloader (0xff)

Note that your partition table must have the last TWO entries free or they will be destroyed!

 
Create the \LGLIVE_HOME file using RMPrepUSB - Create Ext2 FS button and choose filename of LGLIVE_HOME.
 


#7 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 26 February 2013 - 02:40 PM

It's mean I don't want to download 4GB to test it! 

Ok!

 

I got the Lite Edition.

For a first time i no need of persistant mode.

 

I tried your first example, but i removed

 


partnew (hd0,3) 0x00 /lglive-0.9.7-i686-hybrid-lite.iso

 

I don't understand why you create a new partition, and i don't understand where you create this partitiion (local hdd or on the usb key ?)

I don't want write on my hdd, and i want only 1 partition on my usb key !

 

In case of me, i have an error at this point :

Waiting 30 sec for device /dev/disk/by-label/lglive-097...

 

... blabla ...

 

And the Error:

Boot device didn't show up after 30sec

Falling back to interactive prompt

You can try to fix the pb manually, log out when you are finished

/bin/sh: can't access tty: job control turned off

[ramfs /]#

 

and i have prompt ...



#8 steve6375

steve6375

    Platinum Member

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

Posted 26 February 2013 - 02:50 PM

Now you understand why I need to make a new partition!

A new partition is made which points to the start of the ISO file - when linux boots, it detects this partition as a valid filesystem and accesses it to get the rest of the files it needs.

The partition entry is created on the boot device - so if you boot from USB, a 4th partition entry will be made on the USB drive. Use this menu and it will be safe as it will prevent the ptn 4 entry from being overwritten.


#must enable parttype output
debug on
# make empty table entry in 4th position in ptn table
parttype (hd0,3) | set check=
set check=%check:~-5,4% > nul
if "%check%"=="0x00" partnew (hd0,3) 0 0 0 > nul
if not "%check%"=="0x00" echo WARNING: PTN TABLE 4 IS ALREADY IN USE! && pause && configfile /menu.lst

title lglive-0.9.7-i686-hybrid-lite.iso
map /lglive-0.9.7-i686-hybrid-lite.iso (0xff) 
partnew (hd0,3) 0x00 /lglive-0.9.7-i686-hybrid-lite.iso 
map --hook 
root (0xff) 
chainloader (0xff)

 



#9 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 26 February 2013 - 03:35 PM

Hum, ok

 

But i don't understand really what you do !

In case of me i have 1 usb key with 1 ntfs partition with datas, i don't have place to put another partition ...

 

I don't understand your commands, and i don't understand if (hd0,3) is virtual or not !

I don't want create a new partition or write something on my usb key.

 

It's not possible to create vitual or memory partition instead ?



#10 steve6375

steve6375

    Platinum Member

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

Posted 26 February 2013 - 03:54 PM

No, virtual does not work because linux boots to protected mode and so any virtual filesystem is lost.

 

You USB drive has a partition table in the MBR. It starts at offset 1be hex and is 64 bytes long. It can contain  four 16 byte entries. If your USB flash drive has one partition, it will have just one entry.

The partnew command writes the correct values to the 4th table entry on the USB drive. The start values will be set to the start position of the ISO file. It is perfectly safe to use on your USB flash drive. The previous menu that I gave will check that the partition entry is free. It also clears the previous ISO entry (which has type 0) when the menu is loaded.



#11 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 26 February 2013 - 04:13 PM

I understand better, but i have 1 usb key 8GB, and 1 NTFS partition of 8GB

 

It's mean the first 16 bytes of the partition table tell something like :

"your NTFS partition start at the begin of the key and finish at the end of the key."

 

If i write something on the descriptor 2, 3 or 4 of course it break my first partition !

 

Else i tried your solution and i have this error :

 

 

Booting lglive-0.9.7-i686-hybrid-lite.iso
Cannot create a partition with a blocklist of a whole drive
partnew (hd0,3) 0x00 /lglive-0.9.7-i686-hybrid-lite.iso
Error 30: Invalid arguement


Press any key to continue ...

Then, what i do ?



#12 steve6375

steve6375

    Platinum Member

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

Posted 26 February 2013 - 04:18 PM

Please use latest grub4dos as included in RMPrepUSB, or replace grldr on your USB drive from this download. 



#13 islogged

islogged

    Newbie

  • Members
  • 25 posts
  •  
    France

Posted 27 February 2013 - 02:01 PM   Best Answer

Hi,

 

Second time you help me!

and

Second time you solve my pb !

 

Thank you.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users