[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bootable USB images



Aurelien Jarno dixit:

>> > I have tried that, but it doesn't work. It works fine when used on a
>> > CD-ROM, but not when used on an hard-drive. The grub menu is shown
>> > correctly, but when selecting the install entry, it freezes on 
>> > "Loading ...". When trying to boot using commands, it also freezes after
>> > entering "kfreebsd /boot/kernel/kfreebsd.gz".

Interesting, it freezes after this too:
kfreebsd (<tab>
→ kfreebsd (hd0,
kfreebsd (hd0,1<tab>
→ kfreebsd (hd0,1)
another tab, and it freezes.

With my scenario, I had removed *all* 「set root=…」 commands from the
configuration. A working one (sans replacing vga= with gfxterm stuff)
is attached, using grub from the Grml 2009.10 “Hello-Wien” edition. Is
there something you special-cased when handling CDs or not-CDs? (For
example, grub-legacy doesn’t handle iso9660 from media with !2048by
sectors at all.)

Hm. Even with grub.cfg renamed into xrub.cfg (so no config at all)
it freezes. Weird.

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"
set default=0
set timeout=30

menuentry "MirGRML 2009.10 - default: text only" {
	linux	/boot/grmlmir/linux26 apm=power-off vga=3845 video=ofonly boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirOS BSD (i386) boot loader" {
	multiboot /usr/mdec/boot
}

menuentry "MirOS BSD (i386) fallback method" {
	multiboot /usr/mdec/boot set image /v10/i386/bsd.rd`echo`echo Type "boot" and hit return to load the MirBSD install/rescue system!`echo
	module	/v10/i386/bsd.rd
}

menuentry "Memory test (memtest86+)" {
	linux	/boot/addons/memtest
}

menuentry "MirGRML 2009.10 - enable persistent mode" {
	linux	/boot/grmlmir/linux26 apm=power-off vga=3845 video=ofonly boot=live nomce persistent
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - serial console" {
	linux	/boot/grmlmir/linux26 apm=power-off boot=live nomce vga=normal video=vesafb:off noquick console=tty1 console=ttyS0,9600n8
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - with 1024x768 framebuffer" {
	linux	/boot/grmlmir/linux26 apm=power-off vga=791 boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - with 1280x1024 framebuffer" {
	linux	/boot/grmlmir/linux26 apm=power-off vga=794 boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - with 800x600 framebuffer" {
	linux	/boot/grmlmir/linux26 apm=power-off vga=788 boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - failsafe boot" {
	linux	/boot/grmlmir/linux26 apm=power-off boot=live nomce vga=normal boot=live noautoconfig atapicd noapic noacpi acpi=off nomodules nofirewire noudev nousb nohotplug noapm nopcmcia nosmp maxcpus=0 noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noraid nolvm noresume selinux=0 edd=off
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - debug mode" {
	linux	/boot/grmlmir/linux26 apm=power-off boot=live nomce vga=3845 video=ofonly debug boot=live initcall_debug
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - copy squashfs to RAM" {
	linux	/boot/grmlmir/linux26 toram=grml-mir.squashfs apm=power-off vga=3845 video=ofonly boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - copy entire CD to RAM" {
	linux	/boot/grmlmir/linux26 toram apm=power-off vga=3845 video=ofonly boot=live nomce
	initrd	/boot/grmlmir/initrd.gz
}

menuentry "MirGRML 2009.10 - forensic mode (untested)" {
	linux	/boot/grmlmir/linux26 apm=power-off boot=live nomce vga=3845 video=ofonly readonly nofstab noraid nolvm noautoconfig noswap raid=noautodetect
	initrd	/boot/grmlmir/initrd.gz
}

Reply to: