Tiny Core Base > TCB Q&A Forum

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

<< < (2/3) > >>

Lee:
Booting with two files only, in the current version of Core works fine.  It doesn't boot to a GUI though.  To boot to a GUI you need the following extensions in tce/optional/ (and they need to be listed in tce/onboot.lst):

Xlibs.tcz
Xprogs.tcz
fltk-1.10.tcz
wbar.tcx
jwm.tcz

You can substitute whatever wm instead of jwm, but if you use one that has dependencies, you need those, too.
You don't technically -need- Xprogs or wbar, but they're real handy.

I still know little or nothing about grub2.  ;)

tweed:
Very cool that you've stayed on this one Lee... nice!

So, YES ... I almost had the energy to boot up and go online again and write to mention that I AM able to get to:

tc@box $

EDIT: deleted a long ramble

I will now be able to add to the grub2 menuentry [searched: menuentry] or use other techniques to add packages at boot time and hopefully learn about persistence and the method best to use for me.


I will use DWM as WM and will need to build as i normally do on my desktop system, or just copy it over for starters.

Lee:
Glad you got it to boot.  From here on the upgrade/install procedure is pretty easy.

Did you have to do anything special with the menu.lst for grub2?  Just curious, as I don't see me switching from grub4dos to grub2, but others might find such info useful.



--- Quote ---I will use DWM as WM and will need to build as i normally do on my desktop system, or just copy it over for starters.
--- End quote ---

I'm not familiar with DWM but I see there's no dwm.tcz in the repo.  When you get it working, maybe consider packaging it up as an extension.


--- Quote ---EDIT: deleted a long ramble
--- End quote ---

I find myself doing that all the time.  :)  Sometimes even before I post.

tweed:
ERATTA: below i mention that all the iso files need to be put in: /tinycore/tce.  well i now have them in there AND in the /tinycore/tce/optional folder. i will figure it out though for now I'm thinking (due to my grub2 menuentry and my minimal understanding) that the onboot.list is in /tinycore/tce folder and the files in the /tinycore/tce/optional  OR everything in both is where I'm gonna leave it tonight. it works that way. though i guess the onboot.lst only needs to be in the /tinycore/tce folder as it was running that way earlier. due to my quick folder sync to figure out what it stopped working, everything's in both for now.  uhhh... :---]]]]

AN AFTER-MENTION: my stick was initially fat32 though thru the learn and try i formatted it to ext2. at some point I'll wonder and try fat32 again. i figure core won't like it though. posting this at bottom as well as it was a point for me.

------- FIRST STUFF WRITTEN BELOW -------


LEE !!!


I've come back to write you to say how helpful PLUS you've been.
it was the onboot.lst that i needed to understand and after much
reading figured out enough to boot desktop.

I used four grub2 menuentry's to start with. I had read that perhaps
using hdx was needed, though what was need was that i got the folder order right enough.

These are folders on a stick or a drive loose, no install, just copying, and having GRUB2 in the mbr.
being careful installing grub2 to mbr was needed as it's possible to really have issues.

for anyone, here's the 4 menuentry for grub2

the 2nd and the 4th work and quite differently.
the 4th one has the 'not a problem though not sure what yet" opt=

the 1st and 2nd ones only get to tc@box $ though i figure
it's the hdx bit that actually isn't the way to go these days.

I believe the (hd0,1) isn't needed after linux and initrd lines.
i saw it somewhere so used it.

[sorry i can't figure out how to wrap code in a box. figured it would be obvious
with all the icons though nope.

anyways, on my stick (any i imagine it would be the same on my drive)
i have the boot folder which has grub folder inside.
THEN, also at the root level i have a folder called tinycore and
inside that there's boot folder with just vmlinux and core.gz

also inside tinycore folder there's another folder called tce and inside that
a folder called optional (all this can be seen in the 4 menuentry(s) below.

So, i took a full tinycore iso Coreplus-current, opene4d it up and copied
everything in the /cde/optional folder to /tinycore/tce NOTE: not the optional folder on your stick/drive.

THEN the onload.lst is one level above that on that ISO in /cde.
I put that IN with all the files now at /tinycore/tce on my stick.


YOU REALLY helped with that... HUGE thanks.

AND, i think i may just stick with the default WM as everything works great and DWM
would make all the app mod stuff perhaps fiddly to get to. dunno yet.
plus, interesting that on the SIO the folder's called 'cde'  dunno why yet.




menuentry 'TinyCore hda NOT WORKING' {
set root=(hd0,1)
linux (hd0,1)/tinycore/boot/vmlinuz waitusb=10 root=/dev/sda1 tce=hda1/tinycore/tce quiet
initrd (hd0,1)/tinycore/boot/core.gz
}

menuentry 'TinyCore sda' {
set root=(hd0,1)
linux (hd0,1)/tinycore/boot/vmlinuz waitusb=10 root=/dev/sda1 tce=sda1/tinycore/tce quiet
initrd (hd0,1)/tinycore/boot/core.gz
}


menuentry 'TinyCore opt hda NOT WORKING' {
set root=(hd0,1)
linux (hd0,1)/tinycore/boot/vmlinuz waitusb=10 root=/dev/sda1 tce=hda1/tinycore/tce opt=hda1/tinycore/tce/optional quiet
initrd (hd0,1)/tinycore/boot/core.gz
}

menuentry 'TinyCore opt sda' {
set root=(hd0,1)
linux (hd0,1)/tinycore/boot/vmlinuz waitusb=10 root=/dev/sda1 tce=sda1/tinycore/tce opt=sda1/tinycore/tce/optional quiet
initrd (hd0,1)/tinycore/boot/core.gz
}


all very very cool.
relentless i say!
bet you know the one.
relentless and with awesome help.

And hey, i've got this instict that tinycore's not gonna mess me around like, well, like that other popular system did many times to the point i said, never again.

best wishes to all.


EXTRA NOTE: I had quietquiet in the 4th menuentry. it's a typo and i guess that's why it funtions differently that the 2nd also working one. So, it would be i get verbose output which is what the diference was.
I will not REMOVE the typo though it looked like this in my grub.cfg and here until i edited it. here's the error below which is now fixed above.


linux (hd0,1)/tinycore/boot/vmlinuz waitusb=10 root=/dev/sda1 tce=sda1/tinycore/tce opt=sda1/tinycore/tce/optional quietquiet



AN AFTER-MENTION: my stick was initially fat32 though thru the learn and try i formatted it to ext2. at some point I'll wonder and try fat32 again. i figure core won't like it though. this posted at top here as well as it was a point for me.

coreplayer2:
I still use Grub4dos on some machines, it's slower to boot than syslinux but I can have a choice of boot screen picture :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version