SliTaz SliTaz Forum

You are not logged in.

#1 2013-07-16 18:41:17

mike5061
Member
Registered: 2011-11-23
Posts: 5

grub2 menuentry for slitaz4 frugal (instal)

some assistance required cannot get my ssd frugal install to boot.

system eeepc 1000 8GB SSD and 32GB SSD

here is where i am now

/dev/sda1 (fat32) is my windows xp and just for one program which will not run on wine is ok booting with grub2

/dev/sdb1 (ext4) root for crunchbang waldorf my main os

/dev/sdb5 (ext4) home for crunchbang

/dev/sdb7 (fat32) for frugal installs of precise puppy 5.6.1 booting ok with grub 2 and slitaz 4 frugal install not quite there yet with the boot process.

/dev/sdb6 swap

grub has all the entries ok and as puppy boots my hd and partition numbering is ok as this is ion the same partition

Now when i try and boot slitaz it gives me an error message

file not found

file not found (twice)

hit any key to continue

then it decompresses linux

gets to trying to mount root and panics and lists me the available partitions for mount (do u need a root for the frugal installation?). it complains about my root=dev/null statement but i am lost as what to replace it with

here is my /etc/grub.d/custom_40 ENTRIES

#!/bin/sh

exec tail -n +3 $0

# This file provides an easy way to add custom menu entries.  Simply type the

# menu entries you want to add after this comment.  Be careful not to change

# the 'exec tail' line above.

menuentry "Puppy561" {

set root='(hd1,7)'

linux /precise561/vmlinuz

initrd /precise561/initrd.gz

}

menuentry "SliTaz"  {

insmod fat32

set root=(hd1,7)

linux /slitaz/boot/bzimage

initrd /slitaz/boot/rootfs4.gz,/slitaz/boot/rootfs3.gz,/slitaz/boot/rootfs2.gz,/slitaz/boot/rootfs1.gz rw root=/dev/null autologin

}

thanks for a very good system so  much improved from 3

Offline

#2 2013-07-16 20:01:53

tazpider
Member
Registered: 2012-03-20
Posts: 71

Re: grub2 menuentry for slitaz4 frugal (instal)

I use only one [c]rootfs.gz[/c] and have [c]grub.cfg[/c] entry looking similar to:

menuentry "SliTaz" {

linux (hd1,7)/slitaz/boot/bzImage

initrd (hd1,7)/slitaz/boot/rootfs.gz

}

Try to adjust yours according to it.

P.S. And remember to pay attention for correct spelling : [c]bzImage[/c] instead of [c]bzimage[/c] smile

Offline

#3 2013-07-16 20:52:04

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: grub2 menuentry for slitaz4 frugal (instal)

I use same syntax than tazpider and with multi rootfs, this one:

menuentry "SliTaz" {

linux (hd1,7)/slitaz/boot/bzImage

initrd (hd1,7)/slitaz/boot/rootfs4.gz (hd1,7)/slitaz/boot/rootfs3.gz (hd1,7)/slitaz/boot/rootfs2.gz (hd1,7)/slitaz/boot/rootfs1.gz

}

Note there is no "[c],[/c]" between the different paths of rootfs files but a space.

EDIT: forgotten to say I have [c]root=/dev/null[/c] at the end of the linux line in the 2 cases

Offline

#4 2013-07-16 21:44:31

mike5061
Member
Registered: 2011-11-23
Posts: 5

Re: grub2 menuentry for slitaz4 frugal (instal)

Hi Ceel and Tazpider thank u guys so much for a quick response.

Tazpider your syntax did not work for me but thanks for the effort is appreciated

Ceel your setup worked got it to boot but it is just logging me into the command line no GUI front end

maybe your edit "root=/dev/null" will cure this issue lets see.

Thanks again guys

quick question Ceel when you say "both cases" there is only one  "LINUX" line did u mean also at the end of the "INTRID" line as well?

Offline

#5 2013-07-17 11:18:36

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: grub2 menuentry for slitaz4 frugal (instal)

@ Mike

in the 2 cases = as same as with only one rootfs or with multi rootfs, not at the end of the initrd line.

it is just logging me into the command line no GUI front end

Have you an error message if you logon as tux and type [c]startx[/c]?

I meat a similar problem with SliTaz 4 in frugal mode on my Siemens lifebook. I need to logon as tux and

[c]$ mkdir /home/tux/.config/slitaz

$ cp /etc/slitaz/applications.conf /home/tux/.config/slitaz[/c]
then logon as root and

[c]# /etc/init.d/slim start[/c]
With rolling, I need to logon as root and type [c]slim[/c]

Offline

#6 2013-07-19 19:12:40

mike5061
Member
Registered: 2011-11-23
Posts: 5

Re: grub2 menuentry for slitaz4 frugal (instal)

Hi Ceel

logged in as tux and tried to startx got the following error

/home/tux/.xsession: .: line 3 can't open '/home/tux/config/slitaz/applications.conf,

any ideas?

Thanks again Ceel

Offline

#7 2013-07-19 20:40:32

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: grub2 menuentry for slitaz4 frugal (instal)

Hi Mike,

Oooh yes... You have exactly the same problem I have (http://forum.slitaz.org/topic/unable-to-do-a-frugal-install-of-slitaz-40).

So following mojo's advises

add boot option [c]screen=text[/c] at the end of the linux line in grub.cfg (this will make inoperative the boot option [c]autologin[/c], you can suppress it)

logon as tux

$ mkdir -p .config/slitaz

$ cp /etc/slitaz/applications.conf .config/slitaz

logon as root

# /etc/init.d/slim start

Verify you have applications.conf here or every new user will have the same problem:

/etc/skel/.config/slitaz/applications.conf
should solve the problem.

You're welcome.

By the way, reading a new time your first post, in a grub.cfg file, boot options [c]rw root=/dev/null[/c] and [c]autologin[/c] must be placed in the linux line and not in the kernel line.

Offline

#8 2013-07-21 23:00:15

mike5061
Member
Registered: 2011-11-23
Posts: 5

Re: grub2 menuentry for slitaz4 frugal (instal)

Hi Ceel

Followed your post but when I log in as root and run

/etc/init.d/slim start

I get the following

-sh: /ect/init.d/slim: not found

by the way as I boot i get the old script that I recognise from slitaz 3 for locale setup (language and keyboard) not the new script thats shows on a live boot from usb maybe somthing deeper is wrong maybe I should download iso again and rewrite to usb or what is the procedure for a frugal install.

maybe I have completely hashed it up.

Thanks Mike

Offline

#9 2013-07-22 22:56:18

mike5061
Member
Registered: 2011-11-23
Posts: 5

Re: grub2 menuentry for slitaz4 frugal (instal)

Hi Ceel

Managed to resolve it

This is what i done

I downloaded a single rootfs.gz (Ditched the multi core)

used unetbootin to make a bootable usb

deleted all the old files under my slitaz directory

copied over the files from my bootable usb to the slitaz directory on the SSD

THIS IS MY CUSTOM_40 MENU ENTRY

menuentry "SliTaz" {

linux (hd1,7)/slitaz/boot/vmlinuz-2.6.37-slitaz rw root=/dev/null vga=normal autologin

initrd (hd1,7)/slitaz/boot/rootfs.gz

This works now boots my frugal install from a fat 32 partition on my second drive at /dev/sdb7

}

Thanks For all the assistance guys Hope this may be of use to someone.

mike

Offline

#10 2013-07-23 06:59:13

tazpider
Member
Registered: 2012-03-20
Posts: 71

Re: grub2 menuentry for slitaz4 frugal (instal)

I can add here one information which could be useful for some.

It is possible to install grub2 on a usb stick, put there menuentry as stated above and keep rootfs&bzImage on hdd.

In this case, if you plug your stick in - Slitaz will boot, if not - system installed on hdd.

Offline

#11 2013-08-22 03:32:27

purcaribe
Member
Registered: 2013-08-10
Posts: 5

Re: grub2 menuentry for slitaz4 frugal (instal)

Maybe this help you. I work for several days to dual boot Puppy Slacko and Slitaz with no luck, Googling , DuckDuck,Bing, etc... I first install Slacko then Slitaz. At Slacko installation i install Grub4. At Slitaz installation i don,t install any grub. Then i unmount my Slitaz partition and look at the menu list and find the right menu entry then and edit the Slacko grub menu list as follow:

# menu.lst produced by grub4dosconfig-v1.8.0

color white/blue black/cyan white/black cyan/black

#splashimage=/splash.xpm

timeout 30

default 0

# Frugal installed Puppy

title Puppy slacko 5.5 (sda1/slacko5.5frugal)

  uuid 2e4cd2f6-d287-41ab-92a3-da18b6489015

  kernel /slacko5.5frugal/vmlinuz   psubdir=slacko5.5frugal pmedia=atahd pfix=fsck

  initrd /slacko5.5frugal/initrd.gz

# Slitaz

title SliTaz GNU/Linux (cooking) (Kernel vmlinuz-2.6.37-slitaz)

root (hd0,3)

kernel /boot/vmlinuz-2.6.37-slitaz root=/dev/sda4 quiet

# Windows

# this entry searches Windows on the HDD and boot it up

title Windows\nBoot up Windows if installed

  errorcheck off

  find --set-root --ignore-floppies --ignore-cd  /bootmgr

  chainloader /bootmgr

  find --set-root --ignore-floppies --ignore-cd  /ntldr

  chainloader /ntldr

  find --set-root --ignore-floppies --ignore-cd   /io.sys

  chainloader /io.sys

  errorcheck on

# Advanced Menu

title Advanced menu

  configfile /menu-advanced.lst

  commandline

And finally i get to boot both.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]