It is currently Tue May 21, 2013 3:25 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: ZenLive -- Help needed for Next steps in a USB installation
PostPosted: Wed Jul 06, 2011 6:17 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Hello,

I just read the manual and tried to run ZenLive on a USB FAT-32 drive. But at the boot prompt, I am getting an error like no boot image specified.

Then I tried giving /boot/vmlinuz. Though it worked, then it halted saying that there is a kernel panic.

How can I solve this..?

Thanks in advance.

With regards,
-Ajay Kumar G

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


Last edited by ajaykumar on Tue Jul 12, 2011 11:25 am, edited 2 times in total.

 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 1:24 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
Please describe how did you created the zenlive boot stick. Please use the zenlive installer to create a bootable usb version as this is the preferred method.

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 1:32 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
When I downloaded the ZenLive, I downloaded the 6.4 version. I just copied all the files from cd to the usb which was in fat32 format.

Code:
cp -r /live/media/* /media/myusb/


Then everything just copied. Then I did this,
Code:
cd
sync
umount /dev/sdc1

syslinux -f /dev/sdc1


Then I rebooted. Used the boot option from USB device. It asked for a proper image.
I just gave the path as /boot/vmlinuz/

Then, started the boot operation. Some operations ran, suddenly, some error in mounting media it seems.
Then kernel panic!!! D!!

So, I just thought I might have gone somewhere. So, I just mailed here.

Thanks in advance,

With regards,
-ajaykumar

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 2:18 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
I suppose you did not renamed the isolinux folder to syslinux and the isolinux.cfg to syslinux.cfg as well as removing isolinux.bin and isolinux.boot before installing syslinux boot loader?!
Do that before and then giving the correct folder option for syslinux install see -d switch from syslinux manpage.


I recommend to use ext2/3 formated Stick with extlinux, FAT sucks!

If you don't want to use the Zenlive Installer for creating a USB version of The ZenLive ISO and prefer the manual way I posted step by step guide several times, so please use the search function:

viewtopic.php?f=46&t=28952&p=139210#p139210
viewtopic.php?f=24&t=28986

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 2:23 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Oh,

I m really sorry to have unnoticed about those posts. As I hadn't tried using any USB for live booting, I just went the manual way prescribed in Zenwalk.org:

http://www.zenwalk.org/modules/tinycontent/index.php?id=20

So, may be I should first look into previous posts and then have to post my questions. :)

I will surely not commit such blunders again, and of course, I will just check the solution you gave me and report it by tomorrow.

Thanks a lot.

With regards
-ajaykumar

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 2:31 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
ajaykumar wrote:
I m really sorry to have unnoticed about those posts. As I hadn't tried using any USB for live booting, I just went the manual way prescribed in Zenwalk.org:

http://www.zenwalk.org/modules/tinycontent/index.php?id=20



GRR, I am repeating this again and again: PLEASE DO *NOT* REFER TO THE OLD ZENLIVE MANUAL ANYMORE - THIS ONE IS *OUTDATED* !

You now see why a new documentation is necessary?


so please follow those steps:

1) copy all the content from the cd to usb stick
2) rename isolinux folder to syslinux and isolinux.cfg to syslinux.cfg and remove isolinux.boot and isolinux.bin
3) install syslinux boot loader (while mounted!)

Code:
./syslinux --install -d /boot/syslinux /dev/sdXn

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Wed Jul 06, 2011 2:36 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Yeah, I am now getting to know.

Today, I was going through Arch User's Guide and all. I found it to be updated well and nicely documented.

Hence, I want to have the Zenwalk OS, which I am very fond of, to have a completely and nicely and perfectly documented way. I want to be of help to this community is in whichever way possible.

And thanks for the replies.
I wil reply soon about the outcome.

Thank you,

With regards,
-Ajay Kumar G

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Fri Jul 08, 2011 8:33 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Hi,

I read all those posts and tried to create a LiveUSB as you had told me to.

First thing is, using gparted, I created ext3 format USB.
Opening a terminal, I 'su'd it and,
Then, I ran the live cd and tried these two things...


Code:
cp -r /live/media/zenlive/* /media/ZenLive/


I deleted manually, isolinux.bin and isolinux.boot files.
I renamed /boot/isolinux/isolinux.cfg --> /boot/isolinux/extlinux.conf
I renamed /boot/isolinux --> /boot/extlinux


Then, I did the following:

Code:
extlinux --install /media/ZenLive/boot/extlinux
cat /usr/lib/syslinux/mbr.bin > /dev/sdc1


Later, when I tried booting from my USB drive, I just found that, it was not booting...
It directly went to HDD boot options.

I have set my first boot option to USB device, and still I didnt have any good answers for my problem..

Is it a mandatory that I need to use ZenInstaller itself to create a live USB...? I thought of little tweaking into my ZenLive, hence I opted this method.

With regards,
-Ajay Kumar G

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Fri Jul 08, 2011 11:49 am 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
Slighly different:

Quote:
extlinux --install /media/ZenLive/boot/extlinux
umount /media/ZenLive
cat /usr/lib/syslinux/mbr.bin > /dev/sdc1


The first command you must execute with the target filesystem mounted, then you have to unmount the target fs before executing the second command.
I really recomment to use the zenlive-install script included with the live-cd, this one can perform all the necessary steps for you, the manual way is only for experienced users.


For more details please refer to:

http://www.slax.org/forum.php?action=vi ... ntID=11126

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Sat Jul 09, 2011 10:56 am 
Zenwalker
Zenwalker

Joined: Sun Aug 01, 2010 9:26 am
Posts: 9
ajaykumar wrote:
...

I have set my first boot option to USB device, and still I didnt have any good answers for my problem..

...

The version of syslinux used in Zenwalk Live 6.4 is 3.8X, which is not the latest 4.0X version. If the latest syslinux was used, your USB memory stick could not boot Zenwalk Live 6.4[1]. Please check which version of syslinux was used.

Reference:
[1] http://syslinux.zytor.com/wiki/index.php/Common_Problems#Modules


 Profile Send private message  
 
 Post subject: Re: Zenwalk Live booting problem by using USB
PostPosted: Sat Jul 09, 2011 6:14 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
The syslinux version in ZenLive 7.0 is 4.03!
Of course you should use the same version as the live system has, that's why I recommend to rebuild from the running live-CD so all the versions will match!

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
 Post subject: Re: [Solved] Zenwalk Live booting problem by using USB
PostPosted: Mon Jul 11, 2011 10:41 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Hi,

Zeninstaller has solved the problem. Although much of enjoyment was not there in doing that, somehow the problem got solved. I would now better start tweaking with the OS. Let me see, how best can I work on this.

Thank you all,

With regards,
-Ajay Kumar G

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: [Solved] Zenwalk Live booting problem by using USB
PostPosted: Tue Jul 12, 2011 6:03 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Wed Mar 31, 2010 4:41 am
Posts: 442
Location: Mysore,India
Hi,

As I told, I am running ZenLive on my USB without any problem. The network is also working fine and I am happy about it. :)

Now, I took a further step to install some softwares by making them modules and including them in /boot/modules folder. Some did work actually, but what I want to ask is that, should I create .lzm files for all the dependencies required and include them in /boot/modules file..? I mean this becomes a cumbersome process and may lead to what is known as circular dependency right..

Other than that, let us say that I want to save some files I work in ZenLive. The old manual says that there exists a folder called rootcopy. So, If I place anything in that folder, then everything works fine. But, I didnt find anything as such pertaining to this. So, is there any other way that I can store those files..? :-\

Suppose I need to install texlive in ZenLive, how do I do that..?
I mean I install texlive in Zenwalk xfce desktop edition as follows: :-X
-> Download texlive
-> Make directory /opt/texlive/2011/
-> Inside texlive folder I will do ./install-tl, then change the working directory to /opt/texlive/2010
-> Install it
-> I will copy a shell script called texlive.sh which contains the paths for docs and all into /etc/profile.d and change its permission to allow it to run as a command for all users
-> I will restart and texlive will be working.

So, how can I do the same in ZenLive..?
I tried to find the answer in the forum but in vain I couldnt do it. The fact is that I dont know how to create an lzm package for textlive like what I do for other softwares packages.. D!! D!!

Thanks in advance. \D/

With regards,
-Ajay Kumar G

_________________
With regards,

+ Ajay Kumar G

The concern for man and his destiny must be the chief interest of all
technical efforts. Never forget this among your equations and diagrams.


 Profile Send private message  
 
 Post subject: Re: ZenLive -- Help needed for Next steps in a USB installat
PostPosted: Tue Jul 12, 2011 11:57 am 
Global Moderator
Global Moderator
User avatar

Joined: Fri Nov 10, 2006 1:16 pm
Posts: 884
You do not need to download any tools to remaster ZenLive. Everything is still there, it's included in the Slackware-Live-scripts!
There is no rootcopy functionality and you should forget about the old manual, as I said this is outdated from ZenLive 6.4 the live-scripts framework
has been changed from linux-live-scripts to slackware-live-scripts, thus making the old manual deprecated!

If you want to permanently add stuff to ZenLive you will need to pack the additional Stuff as additional live modules (.lzm), if you want to
modify or remove stuff, you need to extract the existing .lzm modules, do the changes and recreate them again.
Same procedure as before, only the tools have been changed.

to unpack a live module to a folder use lzm2dir to create a new lzm module from a directory use dir2lzm, simple as that.

BTW: These two are wrapper scripts Slackware-live is having it's own way to create modules, but I found it easier to use the wrapper scripts
for lzm compressed modules.

_________________
Zenwalk current
Core2 Duo 2.80 GHz, 4 GB RAM, GeForce 9400GT, HD audio, 10/100/1000 NIC onBoard, 1 TB HDD, 2x DVD-Burner
Zenwalk snapshot
P4 3.0 GHz, 1 GB RAM, GeForce 7600GS, 16 bit sound, 10/100 NIC onBoard, 2x 80 GB HDD, DVD-Burner, DVD-ROM


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron