PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 02:05:29 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Live USB: Grub Loading Error 2  (Read 807 times)
scoundrel
Administrator
Hero Member
*****
Offline Offline

Posts: 3662


Philosophy= Bigger Hammer


« on: June 20, 2011, 07:54:34 AM »

been trying to make a live lxde usb stick and keep getting the grub loading error 2 while trying to boot from it.. ?

tried both boot loaders .. this partition and this device ........ also tried making and booting from different pc's
Logged


Please Donate Today..Or I Will Make You Wish You Had
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #1 on: June 20, 2011, 08:34:05 AM »

Grub Error
2 : Bad file or directory type
      This error is returned if a file requested is not a regular file,
      but something like a symbolic link, directory, or FIFO.

Some info on what you have is needed .....

what was used to create the live USB?
from what OS were you doing it ?  .....  installed or live?
what ISO did you use to go onto the device?
how is the device partitioned?

Is there a boot directory structure on the device and does it contain the expected files?

/boot/grub ....  and files such as menu.lst etc etc

Also please post the contents of the menu.lst file on the device.

regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
scoundrel
Administrator
Hero Member
*****
Offline Offline

Posts: 3662


Philosophy= Bigger Hammer


« Reply #2 on: June 20, 2011, 12:14:56 PM »

Code:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0
 
title   LXDE
kernel (hd0,0)/LXDE_0/vmlinuz livecd=LXDE_0 fromusb root=UUID=5485b8b0-b15e-4ccd-ba0e-e89fc550c195 acpi=on vga=791 splash=silent
initrd (hd0,0)/LXDE_0/initrd.gz
 
title  LXDE with Persistence
kernel (hd0,0)/LXDE_0/vmlinuz livecd=LXDE_0 fromusb root=UUID=5485b8b0-b15e-4ccd-ba0e-e89fc550c195 acpi=on fstab=rw,noauto vga=791 changes_dev=UUID=5485b8b0-b15e-4ccd-ba0e-e89fc550c195 splash=silent
initrd (hd0,0)/LXDE_0/initrd.gz

title   LXDE with Copy to RAM
kernel (hd0,0)/LXDE_0/vmlinuz livecd=LXDE_0 fromusb copy2ram root=UUID=5485b8b0-b15e-4ccd-ba0e-e89fc550c195 acpi=on vga=791 splash=silent
initrd (hd0,0)/LXDE_0/initrd.gz

menu.lst

PCLinuxOS Live USB Creator

ISO 2010.12 lxde mini downloaded from mirrors ..... have used it before and worked just fine then..
Logged


Please Donate Today..Or I Will Make You Wish You Had
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #3 on: June 20, 2011, 01:11:37 PM »

Are you using a different USB stick or one you have had success with previously?

Check the files on the stick ....  particularly the lxde .sqfs file ......  is it a true copy of the original in the ISO?

As root do

fdisk -l  /dev/sdX .....  where 'X' is the device number of the USB stick, and post the results. It may give some indication of the cause.

I am assuming from your first post that you have tried the install more than once ....
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
scoundrel
Administrator
Hero Member
*****
Offline Offline

Posts: 3662


Philosophy= Bigger Hammer


« Reply #4 on: June 20, 2011, 02:51:46 PM »

Code:
root@localhost scoundrel]# fdisk -l  /dev/sdf

Disk /dev/sdf: 2013 MB, 2013265920 bytes
255 heads, 63 sectors/track, 244 cylinders, total 3932160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005f176

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1   *          63     3919859     1959898+  83  Linux
[root@localhost scoundrel]#

same stick that always worked.. have tried multiple installs on two pc's

and this worked with these pc's and that stick before
Logged


Please Donate Today..Or I Will Make You Wish You Had
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #5 on: June 20, 2011, 03:30:39 PM »

I guess you have checked the MD5sum of the downloaded ISO against the one on the mirror, so you should also check the md5sum of the sqfs file on the USB stick with the sqfs file in the ISO .....  maybe extract it to a directory and do the check.

Also check that all the files in the isolinux directory in the ISO have been copied correctly ....  should be obvious from number and size.

I am running out of ideas  Sad

If all else fails then I would be inclined to delete the MBR/Partition table on the USB stick and recreate it, and then start again creating and formatting a new partition etc etc.

regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #6 on: June 20, 2011, 03:37:37 PM »

Mount USB stick (/media/stick_label) and show the content of it:
Code:
ls --full /media/usb_mountpoint
Logged

marcin82
scoundrel
Administrator
Hero Member
*****
Offline Offline

Posts: 3662


Philosophy= Bigger Hammer


« Reply #7 on: June 20, 2011, 03:40:13 PM »

just did all that.. even installed gparted ... this is throwing me for a loop also.. not having this problem burning coasters and booting from them.... just a hassle booting from discs Roll Eyes
Logged


Please Donate Today..Or I Will Make You Wish You Had
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM