SliTaz SliTaz Forum

You are not logged in.

#1 2013-05-13 22:38:02

Guest
Guest

Cant boot from a custom filesystem?

So I have been experimenting with both Slitaz 3.0 and 4.0 for awhile now from live usb and am very impressed with how they run on my newer pc and especially my old laptop. My only problem with the distro is the lack of a media player such as mplayer or gxine. To try and solve this issue, I did this:

1. I made a live usb of slitaz justx (3.0 or 4.0)

2. I booted the usb from a virtual machine on my macbook air. (my only computer with internet access).

3. I downloaded and installed gxine.

4. I ran the commmand "tazusb writefs gzip" to create a new rootfs.gz (with sound and graphics settings removed) containing my new application.

5. To make sure eveything is working properly, I rebooted from the usb in the virtual machine. Everything went as planned and gxine is installed and working fine.

6. I plugged the usb into my old laptop with a 900 mhz cpu and 256 mb ram (the same as the vm)

7. I boot up the old pc.

This is where it all goes wrong. I have no idea why, but the older computer will only boot into command line mode! This makes absolutely no sense to me since even this old pc will comforably run even the full 3.0 and 4.0 isos and my custom filesystem is only around 25 mb. I should have plenty of ram! Maybe I am overlooking something,  but i have spent many hours trying to solve this issue just so i can get a media player running on this old machine. I have included photos of the last 2 screens I see (hopefully they will be helpful). I am totally new to this distro and really just want to get this working. Any suggestions would be great as this old laptop will be my only computer this summer. Thanks!

[attachment=25422,1130] [attachment=25422,1131]

#2 2013-05-14 13:50:47

Guest
Guest

Re: Cant boot from a custom filesystem?

Maybe I should try making a custom iso from a live cd?

#3 2013-05-17 11:26:14

Guest
Guest

Re: Cant boot from a custom filesystem?

Why not install to your old laptop, download the tazpkg, transfer to laptop & install it on there, I'm pretty sure that should work.

N.B. I haven't used SliTaz a lot, but sure I read it in the forum somewhere.

#4 2013-05-17 20:16:24

Guest
Guest

Re: Cant boot from a custom filesystem?

Mplayer has way to many dependancies to install manually each time. Also, my laptops hard drive is failing.

#5 2013-05-18 09:59:56

Guest
Guest

Re: Cant boot from a custom filesystem?

OK, I see where you're coming from now.

Could you try 'nomodeset' in the grub kernel boot line.

(Usually works on Debian based systems if your graphics card is a problem.)

#6 2013-05-18 14:58:19

Guest
Guest

Re: Cant boot from a custom filesystem?

Okay I'll give that a try. Thanks.

#7 2013-05-19 08:40:21

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Cant boot from a custom filesystem?

Hi unicornswag

But a standard iso-live work on to examined pc?

Another thing...

I think the problem is in the penultimate line of the first photo

Home as specified Been to 04ab-17e1

probably in the new pc is identified with a different number ....

I have created more cooking iso, but I on all used tazlito writeiso lzma, and first these was removing from installation all file detected at the first boot.

This is an little list the file interested

                rm -f /var/lib/sound-card-driver

                rm -f /var/lib/alsa/asound.state

                rm -f /etc/asound.state

                rm -f /etc/X11/screen.conf

                rm -f /etc/X11/xorg.conf

                rm -f /etc/locale.conf

                rm -f /etc/keymap.conf

                rm -f /var/lib/detected-modules

                rm -f /var/lib/detected-usb-modules

                rm -r /var/log/*

                rm -r /home/slitaz

and restore from original iso this file

                cp fstab /etc/fstab

                cp network.conf /etc/network.conf

                cp rcS.conf /etc/rcS.conf

                cp -a local.sh /etc/init.d/local.sh

                cp -aR xorg.conf.d  /etc/X11/

Also it possible some difference in case of version 3 4-and stable cooking or rolling

Offline

#8 2013-05-21 23:40:10

Guest
Guest

Re: Cant boot from a custom filesystem?

Thank you so much Gibor!  You pointed out the issue with the home specification. To solve this, I set home as "sdb1" (the name of the usb drive). Now my custom distro is working perfectly with mplayer installed. I don't know how I didn't figure this out earlier but thanks for the help! Now my dinosaur of a laptop will be useful for many years to come smile

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

Board footer

Powered by FluxBB
Modified by Visman

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