Tiny Core Base > TCB Q&A Forum

[SOLVED] GRUB2 (w/ grub4dos?) to BOOT > vmlinuz + core.gz WITHOUT install ?

(1/3) > >>

tweed:
Hi !!!

first post! woohoo.

is there a latest vmlinuz compatible GRUB2 menuentry that might work for me?

OBJECTIVE: find out why i am having such a tricky time getting GRUB2 and grub.cfg to work with the menuentry's that I've found on forum and tried. I haven't found much at all relating to new  vmlinuz though. Plus, i don't believe i wish to run in live-iso mode, nor do i think i want to use any installer.  how wrong am i ? hehe

Looking to use TCL in two ways and have enjoyed greatly reading for past 24 hours
though haven't found much about GRUB2 booting with new vmlinuz. 

Looking to use some of the clever methods I've read about for booting core
 and vmlinuz without having to use any installer.

FIRST WAY:  on USB stick which has GRUB2 in mbr and via grub.cfg which has
call to GRUB4DOS menu.lst  i am also able to load some more difficult ISOs and BIN files. 

SECOND WAY: within my existing linux desktop install i would like to be able to add
a menuentry to grug.cfg and instead of booting my usual linux system, boot TCL which is simply
the files residing in a folder ON my desktop linux install's filesystem.

As i believe there's a fair bit of sameness to both ways i was hoping to get some pointers on the following:



-----------
NOTE: the menuentry below starts by saying "error: not an assignment" and eventually boots though ends at prompt "tc@box" which seems like a fail. this test is on the usb stick with the vmlinuz and core.gz in the USB stick folder /boot.

Anyone have a vmlinuz GRUB2 ONLY menuentry for both the stick where ther core and vmlinuz are in the /boot folder AND also i get a total not found with the vmlinuz and core.gz in a folder on my hard drive for the linux system folder attempt. SECOND WAY above.

menuentry "tinycore" {
insmod ext2

set root=(hd0,1)
 linux /boot/vmlinuz
 initrd /boot/core.gz
}
--------------


After i get running I'm hoping to have a bunch of programs that i can load as i like. The new 4.4 beta methods are going to be very very coo.

Keen to learn. guess i need to get bootable before much else.

THANK YOU.



Lee:
Hi tweed,

With grub4dos on a device at /dev/sdc1 (which contains the tag file /boot/grub/pnyfob0 in a file system which is also labeled pnyfob0), I'm using:


--- Quote ---# 2012-03-02          4.3.1
title Core 4.3.1
find --set-root /boot/grub/pnyfob0
kernel /boot/core4.3.1/vmlinuz quiet tce=LABEL=pnyfob0/boot/core4.3.1/tce waitusb=30:LABEL=pnyfob0
initrd /boot/core4.3.1/core.gz

--- End quote ---

Where the directory layout is:

--- Code: ---/mnt/sdc1/boot/core4.3.1/
                    vmlinuz
                    core.gz
                    tce/
                        optional/

--- End code ---

with extensions in optional/
and onboot.lst and such in tce/ along with optional/

I didn't have to change anything for the change from bzImage to vmlinuz (except the kernel name, of course).  Also, other than the incredible handiness of adding that "find ..." line, I don't remember changing anything in the switch from grub-0.97-splash to grub4dos.

tweed:
LEE !

nicely stated and laid out. Thanks!

and ah-ha, i think i see where I've not been as clear as I should have.

I don't wish to use grub4dos except when i absolutely can't use GRUB2 effectively.
With GRUB2 I've had the most awesome time and of course lots of trouble too..
OK, so I mention GRUB4DOS and probably should have left that out.
it's been handy in the past for some image files like plop boot manager i recall.

IF I can do what i need with GRUB2. I base everything around GRUB2 though thought i read
somewhere that GRUB2 had some trouble with TCL though that may be old or wrong.

So..... need a menuentry and some folder layout thoughts perhaps for getting grub2 to work.
I'm still at a fail point though am certain all will be well as I've had a lot of fails and they always lead somewhere!

Thanks again greatly for your time and I will find your reply handy as I've forgotten a lot of grub4dos usage. cool!







Lee:
Hmmm... in as much as there is a grub2.tcz extension in the repo, I suppose it can be made to work but I have never tried it so I'll have to defer to the community.  Have already used the forum search for "grub2"?

tweed:
I believe i have read literally every post and have searched and read all with: "grub2" "vmlinuz" "menuentry" both seperately and together PLUS a whole lot more.  There's 22 posts with menuentry. "vmlinuz" came in around Nov 2011.

I already have GRUB2 in my stick's mbr and use it in my linux desktop system.
i need to have my  (multiboot) usb stick boot tinycore with just grub2.

and, i need to have my desktop system boot tiny core from a folder on the drive
after adding the menuentry to my alreaddy existing and nicely functioning grub.cfg.

i believe it is possible to boot with ONLY two files initially. vmlinuz and core.gz USING grub2.

???


I have found nothing definitive.

need this info.

thank you!

Navigation

[0] Message Index

[#] Next page

Go to full version