Page 34 of 72 FirstFirst ... 24323334353644 ... LastLast
Results 331 to 340 of 716

Thread: ISO boot from FAT/NTFS/USB (GRUB.exe, grldr from boot.ini)

  1. #331
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    11
    So if I understand this right, you can start grub from the usb dongle but grub cannot load knoppix, is this right ?
    When I boot with Grub the error 17 and the fallback occur as I described. And after the third fallback the Grub command line appears.

    (The usb device can only be seen by grub, if you boot grub from that usb device, a cd or hd grub boot will not see the usb dongle)
    It seems that Grub can't see any partition of my hdd and of my usb dongle. When I try to access to (hd0,0) for example it should at least recognize the first partition of my hdd if not the usb dongle, I think.

    In your case, the best thing to do ...
    I will try out this as soon as possible. Thanks a lot!

    Are you talking about the first lilo menu of my setup ?
    No. When I boot from your DOS menu with the option "Lilo sda1" (or so) then it works well, too. Lilo loads the initrd and the kernel, the kernel doesn't find the compressed image on sda1, searches, and finds it on sdb1. Then KNOPPIX boots until "Starting the X Window System..." - and then black screen. The CD which I have burned with the same image works fine, so the image should be okay.
    Until now I've never seen your Lilo boot menu. The only menu I know is the DOS menu.


    Thanks!
    Marcel

  2. #332
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by marft
    ...When I boot from your DOS menu with the option "Lilo sda1" (or so) then it works well, too. Lilo loads the initrd and the kernel, the kernel doesn't find the compressed image on sda1, searches, and finds it on sdb1.
    So both (lilo) dos boot option are working: lilo sda1 and lilo sdb1. I assume that sdb1 boots without any problem and sda1 complains about the wrong location for the iso image file then my linuxrc script will find it on sdb1 and will use it to boot Knoppix from it. (if you use the latest initrd_iso.gz)

    Quote Originally Posted by marft
    ...Then KNOPPIX boots until "Starting the X Window System..." - and then black screen...
    I believe that this has nothing to do with the boot process but is more related to the kernel boot options or cheatcodes parameters that are given to the kernel by the bootlader: in the kernel line of the menu.lst or in the lilo command line of the sd(a/b)1.bat file. Remember that Lilo has a command line length limitation or in other words Lilo will ignore the end of the command line if it is too long. So you better start with the key parameters.
    As for comparison, the cd default parameters are as follow: (without the kernel and ramdisk references)
    ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix
    And the sdb1.bat parameters are as follow: (without the kernel and ramdisk references)
    ramdisk_size=100000 init=/etc/init bootfrom=/dev/sdb1/boot/knoppix.402/*.iso vga=791 lang=us quiet apm=power-off nomce noprompt
    When you start Knoppix from the cd, do you need type in any special cheatcode or are you using the default settings by just typing the "enter" key ?

    Quote Originally Posted by marft
    Until now I've never seen your Lilo boot menu. The only menu I know is the DOS menu.
    Lilo has no menu or interactive mode. I was referring to the dos menu allowing you to select which dos macro .bat file to run.
    Best Regards,
    Gilles

  3. #333
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    11
    When you start Knoppix from the cd, do you need type in any special cheatcode or are you using the default settings by just typing the "enter" key ?
    Yes, just pressing the [Enter] button works if I boot from CD. But I almost always enter cheatcodes, too. Well, when I type in cheatcodes I have to write "knoppix" at first, for example: knoppix screen=800x600 dma >> That's not necesary for the cheatcodes of boot managers?? And in your usb_dgle3.zip you write some filenames with capital letters, but in the bat-files you write every filename and directory with small letters >> I think, Linux is case sensitive??


    Thanks!
    Marcel

  4. #334
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    11
    In your case, the best thing to do, is to use the autocompletion mode of grub to find out what is wrong:
    type: "kernel (hd," + the_tab_key, and grub will list all the hdd availbale.
    I bootet from the usb dongle with grub and after the three fallback errors I tried the grub commands you told me. I got the following results:

    kernel (hd, >> Error 25: Error while parsing number

    kernel (hd0, >> Partition num 0:, Filesystem is ntfs, partition type 0x7
    Partition num 4:, Filesystem is ntfs, partition type 0x7

    kernel (hd1, >> Error 23: Selected disk does not exist

    kernel (hd0,0)/ >> Possible files are [files of my partition C: of the sata hdd]

    kernel (, >> Possible partitions are:
    Filesystem type unknown, partition type 0x68
    Filesystem type unknown, partition type 0x79
    Filesystem type unknown, partition type 0x53
    Filesystem type unknown, partition type 0x49
    Filesystem type unknown, using whole disk

    --> Oh! The usb donlge light flashes! I entered the last command a few times and voilĂ*! >> Possible disks are: fd0 fd1 ... but I had no further success.

    kernel (fd0)/ >> usb dongle light flashes, but >> Error 19: Cannot mount the selected partition

    kernel (fd0,0)/ >> Error 12: Unrecognized device string

    kernel (fd0,1)/ >> Error 12: Unrecognized device string

    kernel (fd1)/ >> system hangs, I have to reset the computer



    Hope that brings a little light in the darkness.

    Greetings
    Marcel

  5. #335
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by marft
    ...kernel (fd0)/ >> usb dongle light flashes, but >> Error 19: Cannot mount the selected partition...
    Did you use the HPUSBFW.EXE program to reformat your usb dongle ?
    It looks like that your usb dongle is recognized by the bios of your pc as a floppy (fd0) and not as a hdd (hd0) and that would explain why lilo will boot and grub is confused. A hdd have a partition table that a floppy has not. Lilo read files using dos system calls, grub is accessing devices at bloc level without using the dos and is not expecting a partition table on a floppy device. Maybe a new beta version of grub.exe may help, could you please replace it on your dongle and let me know ? http://s94002264.onlinehome.us/grub/grub.exe

    To solve your X problem (black screen after kernel autodetection), try to add some cheatcodes in the sdb1.bat file, as screen=800x600. But do not add this cheatcode at the end since the end of the command line may be truncated...

    Are both lilo sda1 and lilo sdb1 boot options working ?

    PS: Lilo.exe (dos program) do not care about the upper/lower case of filenames. Lilo.exe will load the kernel and the initrd~1.gz ramdisk (initrd_iso.gz in the 8 dos characters format). But once the Linux kernel is loaded, the filename case will matter !
    Cheers, Gilles

  6. #336
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    11
    Did you use the HPUSBFW.EXE program to reformat your usb dongle ?
    Yes, of course. The thing is that I can only select USB ZIP and USB FLOPPY in the BIOS boot menu. But there seems to be no difference between the choices.

    Maybe a new beta version of grub.exe may help, could you please replace it on your dongle and let me know ?
    I will do so.

    To solve your X problem
    I will try it.

    Are both lilo sda1 and lilo sdb1 boot options working ?
    After the adaptations? I will report it to you.


    Thanks!
    Marcel

  7. #337
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    grubf.zip update, USB/NTFS/FAT/REISER Knoppix 4.02 ISO boot

    I have put together all the files required to boot Knoppix 4.02 from a USB dongle or from a NT/XP NTFS partition.
    http://s94002264.onlinehome.us/grub/grubf.zip
    Please note that the boot files will also work from FAT and REISER partitions and
    in case of the wrong device is used in the bootfrom cheatcode,
    the linuxrc boot script will automatically search for the ISO on an other device.
    Best Regards,
    Gilles

  8. #338
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    11
    Dear Gilles,

    I'm sorry, but currently I have a little bit stress and no 1-GB-usb dongle. In about one or two weeks I can try again to boot Knoppix from usb dongle. By the way, I think the problem is my computer, since I have tested to boot Slax from three different usb dongles - without any succes. Slax has an own install assistant to install it on a usb device.


    Thanks a lot so far!
    Marcel

  9. #339
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    hostname= cheatcode

    Hello,
    I modified the linuxrc boot script to setup the hostname at boot time (kernel cheatcode: hostname=mymachine)
    I updated my minirt_iso.gz ramdisk with this new linuxrc:
    http://s94002264.onlinehome.us/grub/minirt_host.gz
    So Knoppix can now be booted from the official ISO being on a FAT/EXT/Reiser/NTFS partition or USB donge
    with a custom hostname given in the kernel command name by using the hostname= cheatcode.
    Give it a try and please give me some feedback.
    Thanks,
    Gilles

  10. #340
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    Re: hostname= cheatcode

    Hello,
    I now have added the option to use dynamic hostnames using the following hostname= kernel cheatcodes:
    hostname=auto-clock -> knoppix-200512031753 (date+time)
    hostname=auto-mac -> knoppix-123456789012 (eth0 mac address)
    http://s94002264.onlinehome.us/grub/minirt_host.gz (I just replaced the old one)
    Give it a try and please give me some feedback.
    Thanks,
    Gilles

Page 34 of 72 FirstFirst ... 24323334353644 ... LastLast

Similar Threads

  1. Boot Knoppix 3.3 from HDD using Grub for NTFS
    By sandricionut in forum Hardware & Booting
    Replies: 2
    Last Post: 08-11-2005, 03:28 PM
  2. grub boot loader read the boot file from a windows partition
    By cli168 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-20-2005, 03:57 AM
  3. Hdd-install and grub boot??
    By Ish Rattan in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2004, 10:31 PM
  4. Grub/lilo boot problems
    By madape in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-03-2004, 10:07 AM
  5. Boot cd with lilo or grub boot disk
    By keava in forum General Support
    Replies: 3
    Last Post: 10-20-2003, 05:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$479.96



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$19.99



Red Hat Enterprise Linux 5 Server RHF032US-R1 NEW Sealed picture

Red Hat Enterprise Linux 5 Server RHF032US-R1 NEW Sealed

$59.95



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Asus ESC4000 G3 Barebones 0GB HDD Linux picture

Asus ESC4000 G3 Barebones 0GB HDD Linux

$200.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$799.96



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a picture

IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a

$3439.96



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87



VPS Windows / Linux Server - 12GB  RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year picture

VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year

$274.01