Attempting to boot from ext. CD writer. Error message: "Kernel panic -not syncing: No init found".

Hello. The Insyde Software version JA.M1.31 of the Basic Input Output System (BIOS) for my Hewlett Packard Pavilion, ZE1110 notebook computer, purchased in the year 2002, apparently does not include booting from a Universal Serial Bus (USB) drive. But nevertheless by other means I have been trying to boot my computer from a Gnome Partition Editor (GParted) live Compact Disc (CD) in my external CD writer, which is cabled by a USB cable to my computer.

Question 1: Will any of the procedures discussed at SDB:Live USB stick - openSUSE on the Internet work for a BIOS which does not list a USB drive as bootable? Booting a USB stick by writing booting files onto it is not my goal here. Nevertheless there might be some overlap in the procedures discussed there with the procedure needed to be boot an external CD writer cabled to a computer using a USB cable.

The general idea of what I have been pursuing from https://help.ubuntu.com/community/BootFromUSB is to first boot my computer from Linux kernel and initialize Random Access Memory (RAM) (initrd) files obtained from in my case an openSUSE Live CD that are stored on a Virtual File Allocation Tables (VFAT) partition of my hard-disk drive, since my computer’s BIOS does allow the booting of my computer from the hard-disk drive. I obtained the openSUSE Live CD from software.opensuse.org: Download openSUSE 11.4 by clicking on “Live KDE” (K Desktop Environment) there, etc. I have been trying a procedure which is a combination of the procedures discussed at mainly openSUSE Lizards and How to edit openSUSE live CD | desire.sk. The idea is to modify initrd to initdrd for VFAT partitions and USB using the procedure provided by Masim “Vavai” Sugianto at openSUSE Lizards for openSUSE 11.0 GM so as to avoid the error associated with the error message “Couldn’t fine Live image configuation file;” and although the procedure there is for making a “live” USB stick which uses VFAT, I assume it to be at least partly, if not completely applicable to instead the VFAT portion of a hard-disk drive. But from How to edit openSUSE live CD | desire.sk that procedure needs to be modified to accomodate the Compressed Loop Image Container File System (clicfs) I think originally by Stephen Kulow (openSUSE Lizards, one reference by Stephen Kulow on clicfs) and the Lempel-Ziv-Markov chain Algorithm (LZMA) compression apparently used in the openSUSE-11.4 Live CD.

Question 2: I could open the initrd archive with the command “gzip -dc /mnt/iso/boot/i386/loader/initrd | cpio -i” in the midst of other commands below and even saw Roman-letter characters inside the extracted file “include”. So I assume that the initrd archive in an openSUSE-11.4 Live CD is a copy in/out (cpio) archive compressed with the program gzip instead of using the LZMA. Is that correct?

I obtained the Linux kernel and initrd files from the openSUSE-11.4 Live CD and according to openSUSE Lizards modified the file “include” which was obtained after executing the above gzip command. The initrd substitute archive initrdud was built using the commands below. To prepare for booting the following stanza was appended inside the file /boot/grub/menu.lst:

title USB drive
root (hd0,5)
kernel /unpacked/boot/vmlinuz-2.6.37.1-1.2-default init=/unpacked/init
initrd /unpacked/boot/initrdud
boot
.

Then with the GParted Live CD in my external CD writer, which was USB-cabled to my computer, I rebooted my computer, selected “USB drive” from the boot menu, and subsequently saw these messages:

Failed to execute /init
Failed to execute /unpacked/init …Attempting defaults… Kernel panic - not syncing: No init found

[2.156840] Call Trace:
[2.156956] <c02060e3>] try_stack_unwind+0x173/0x190
[2.157046] <c0204e8f>] dump_trace+0x3f/0xe0
[2.157132] <c020614b>] show_trace_log_lvl+0x4b/0x60
[2.157217] <c0206178>] show_trace+0x18/0x20
[2.157305] <c05f9945>] dump_stack+0x6d/0x72
[2.157390] <c05f99a1>] panic+0x57/0x150
[2.157472] <c0201192>] init_post+0x72/0xc0
[2.157562] <c0910930>] kernel_init+0x168/0x1c1
[2.157662] <c0203526>] kernel_thread_helper+0x6/0x10

But I suspect “No init found” may not have been true. I think “Failed to execute /unpacked/init” likely means that the init file in the directory /unpacked was found due to the explicit instruction “init=/unpacked/init” in the above kernel line in the file /boot/grub/menu.lst. I guess that the response “Failed to execute /init” from the computer could have been an attempt to execute the init file in either /unpacked/sbin or else /unpacked, in each case obtained from the initrd archive of the openSUSE-11.4 Live CD.

Question 3a: Why did the GParted Live CD not boot my computer or the programs on that Live CD not begin to run? Or, perhaps equivalently, what am I missing, some kernel parameters in the kernel line in the above last stanza of /boot/grub/menu.lst similar to in Ubuntu Linux “kernel …vmlinuz-… file=/cdrom/preseed/ubuntu.seed boot=casper noprompt cdrom-detect/try-usb=true persistent” (http://help.ubuntu.com/community/BootFromUSB)?
Question 3b: If so, what should that kernel line including the appropriate kernel parameters in /grub/boot/menu.lst be?
Question 3c: And assuming some similarity with the kernel parameters for Ubuntu Linux, from what directory should an opensuse.seed file be found inside the openSUSE Live CD?

Okay, now I present some detailed commands I entered as a superuser or root user with some mkdir commands historically entered quite some time ago. These commands were entered on a partition formatted using the VFAT file system. The /mnt subdirectories were probably all located on the openSUSE-11.4 system partition written using the ext4 file system.

mkdir /mnt/iso
mkdir /mnt/iso_unpacked_clicfs/
mkdir /mnt/iso_sub
mkdir /unpacked
mount -o loop openSUSE-11.4-KDE-LiveCD-i686.iso /mnt/iso
cd unpacked
gzip -dc /mnt/iso/boot/i386/loader/initrd | cpio -i

    In the file linuxrc in ../unpacked I changed the top line #!/bin/bash to #!/bin/bash -x.
I had the files syslinux.cfg and config.isoclient from the initrd archive in ../unpacked.
In the file ../unpacked/include I added the lines prefixed by ---&gt;, but did not input the ---&gt;s.

function CDDevice {
#/…/ changed to find config.isoclient on vfat disk.
----> find /lib/modules//kernel/fs/nls/nls -exec insmod () ; #for vfat
----> find /lib/modules//kernel/fs/fat/.ko -exec insmod () ; #for vfat
----> insmod /lib/modules/
/kernel/drivers/usb/storage/usb-storage.ko -exec insmod () ; #for USB
----> sleep 5 #Fix me. Do this in a proper way.

clicfs /mnt/iso/openSUSE-kde-11.4-livecd-kde-read-only.i686-2.8.0 /mnt/iso_unpacked_clicfs/
ls /mnt/iso_unpacked_clicfs/ (had the computer response “fsdata.ext3”)
mount -o loop /mnt/iso_unpacked_clicfs/fsdata.ext3 /mnt/iso_sub/
cp /mnt/iso_sub/lib/modules//kernel/fs/nls/nls_cp437.ko lib/modules//kernel/fs/nls
cp /mnt/iso_sub/lib/modules//kernel/fs/nls/nls_iso8859-1.ko lib/modules//kernel/fs/nls
cp -r /mnt/iso_sub/lib/modules//kernel/fs/fat lib/modules//kernel/fs/
find . | cpio -o -H newc | gzip -q > …/initrdud (The computer’s response to this command was “96803 blocks”.)

 Afterward I found the archive initrdud in the directory above /unpacked and eventually copied it to the directory /unpacked/boot.

cp /mnt/iso_sub/boot/vmlinuz-2.6.37.1-1.2-default vmlinuz-2.6.37.1-1.2-default

 Eventually I copied the kernel file vmlinuz-2.6.37.1-1.2-default to /unpacked/boot.

On 08/27/2011 05:56 AM, 2009Newbie wrote:
>
> Hello. The Insyde Software version JA.M1.31 of the Basic Input Output
> System (BIOS) for my Hewlett Packard Pavilion, ZE1110 notebook computer,
> purchased in the year 2002, apparently does not include booting from a
> Universal Serial Bus (USB) drive.

your Question 1: no, to boot a USB drive your bios must support that

your Question 2: i do not know, maybe others will…but, your mixed
signals, help me understand, please:

you have an almost 10 year old notebook and a handle of “2009Newbie”
posting via nntp and it seems to me you have already been down the paths
a software engineer (or similar) would take before asking…so, i need
to ask:

have you taken on what some might think an impossible task (booting USB
using a BIOS which says no-no) because it is a challenge you wish to
solve or are you a highly experienced in another operating system just
wanting to put some old, handy hardware to use to “try Linux and see
what all the fuss is about”?

so, if the former (can i hack it challenge) i say: good luck and happy
trails…but i highly recommend you find a much ‘lighter’ linux distro
to try on the old hardware…something like Puppy Linux, or DSL…there
are lots…if you want a list just ask…

but, if your actual purpose is to give Linux a whirl then i recommend
you download the KDE Live CD from http://software.opensuse.org/ and boot
from it on a modern machine meeting the recommended hardware needs
<http://en.opensuse.org/Hardware_requirements> and play with it a
while…unless you go out of your way to set it up otherwise it will
not mess with your installed OS…so, Have a lot of fun.

if you decide you like it and want to install it, then before you do do
some reading…come back and ask for a recommended list of new to
linux/new to openSUSE before install reading…

now, i say all of that because i guess if you are able to boot the
2002 machine you will have an unhappy experience trying to run openSUSE
11.4 on it because it is far below the minimums (which are, of course,
below the recommended)…and you will wander away with a bad impression
of a great system…


DD
Caveat-Hardware-Software
openSUSE®, the “German Engineered Automobile” of operating systems!

On Sat, 27 Aug 2011 03:56:08 +0000, 2009Newbie wrote:

> Will any of the procedures discussed at ‘SDB:Live USB stick - openSUSE’
> (http://tinyurl.com/4ly8q8) on the Internet work for a BIOS which does
> not list a USB drive as bootable?

Probably not, but you might have success using the Plop Boot Manager,
available from: http://www.plop.at/en/bootmanagerdl.html

I’ve used this myself in a VMware session (which also doesn’t support
booting from a USB device) to test a bootable USB flash drive, and it
worked OK there.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 08/27/2011 02:58 AM, Jim Henderson wrote:
> On Sat, 27 Aug 2011 03:56:08 +0000, 2009Newbie wrote:
>
>> Will any of the procedures discussed at ‘SDB:Live USB stick - openSUSE’
>> (http://tinyurl.com/4ly8q8) on the Internet work for a BIOS which does
>> not list a USB drive as bootable?
>
> Probably not, but you might have success using the Plop Boot Manager,
> available from: http://www.plop.at/en/bootmanagerdl.html
>
> I’ve used this myself in a VMware session (which also doesn’t support
> booting from a USB device) to test a bootable USB flash drive, and it
> worked OK there.

Cool piece of software. Thanks for the link.

On Sat, 27 Aug 2011 20:44:05 +0000, Larry Finger wrote:

> On 08/27/2011 02:58 AM, Jim Henderson wrote:
>> On Sat, 27 Aug 2011 03:56:08 +0000, 2009Newbie wrote:
>>
>>> Will any of the procedures discussed at ‘SDB:Live USB stick -
>>> openSUSE’ (http://tinyurl.com/4ly8q8) on the Internet work for a BIOS
>>> which does not list a USB drive as bootable?
>>
>> Probably not, but you might have success using the Plop Boot Manager,
>> available from: http://www.plop.at/en/bootmanagerdl.html
>>
>> I’ve used this myself in a VMware session (which also doesn’t support
>> booting from a USB device) to test a bootable USB flash drive, and it
>> worked OK there.
>
> Cool piece of software. Thanks for the link.

No problem - I’ve found it useful in a couple of instances. :slight_smile:

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks, DenverD and any other people, for kindly taking the time to respond to my posting. The beginning of understanding my situation is that since the year 2009 I have had some problems using my current Digital Video Disc-Read Only Memory/Compact Disc-Read Only Memory (DVD-ROM/CD-ROM) drive with some optical discs. It is complex; but I suspect that there may have been a combination of problems with some optical discs and with my computer’s DVD drive. Aside from my personal interest in solving the software challenges, solving this challenge could become important if I in the future want to do lots of DVD reading to install either from a DVD or CD an operating system onto my computer’s hard-disk drive or a large computer program. If there is a problem with my DVD drive, I haven’t yet “pinpointed” the exact cause of the problem as with its laser, a driver file, and/or mechanical problems with it. If I end up replacing my DVD drive, there are two conceivable ways of doing it which would enable in addition the writing of DVDs: 1) if possible and workable for my computer, buying an internal DVD-RW (ReWritable Digital Video Disc) drive or 2) buying an external, DVD-RW drive. So far option 2 appears to be cheaper than option 1, if option 1 is technically workable; sometimes I like saving money (Still another possible option, not with a DVD writing capability, could be to have my DVD drive repaired.). But for option 2 in order to be able to boot from an optical disc in such an external CD-RW/DVD-RW drive, say in order to load an operating system from such an optical disc, I would need to be able to boot my computer into the Linux operating system on the Linux Live CD in the external DVD drive.

Aside from solving the possible hardware problem or problems, being able to boot my computer from a bootable optical disc in an external CD writer, which I do have, has become interesting to me. In principle it ought to be doable using openSUSE-11.4, Live CD software. But if a Live CD from a smaller Linux operating system than an openSUSE operating system would be easier to use for booting such an external DVD/CD drive, I would be interested in knowing it from you. According to one of above references, namely at https://help.ubuntu.com/community/BootFromUSB, this has apparently been done using an Ubuntu, Linux operating system.

The Linux operating systems Fedora Core 3, openSUSE 11.1, 11.3, and 11.4 have all worked on my computer. In the year 2010 and sometime before installing openSUSE 11.4 on April 17-18, 2011 I increased my computer’s Random Access Memory (RAM) from 256 MegaBytes (MB) to about 1,024 MB. My computer has a one-GigaHertz (GHz) central processing unit (cpu), which is only slightly more than a factor of two slower than the common cpu speeds of which I am aware these days. I have been using the Lightweight X Windows System version 11 (X11) Desktop Environment (LXDE) much of the time with openSUSE 11.4. Both openSUSE 11.3 and 11.4 have worked well with my ethernet card when I used my friend’s fast Internet service. Here at my mother’s home I have been using a cheap, dial-up Internet service which provides data from the Internet with a download rate considerably lower than when using a fast Internet service. At a couple of publicly accessible places I have sometimes been using free, WiFi fast Internet service. In my way of thinking from the standpoint of speed in downloading files or loading Web pages in a Web browser here in my mother’s home it doesn’t make much sense for me to buy a newer and faster computer, unless I also pay the extra money for fast Internet service here in my mother’s home.–That is a newer and faster computer would I expect still perform slowly when loading Web pages when using a dial-up Internet service with a relatively low rate for downloading data from the Internet. So to understand me and my situation somewhat better than from earlier in this thread, I am currently a guy with a hardware and/or optical disc problem or problems who at least sometimes likes to save money and likes to learn new things and solve challenging things, such as perhaps being able to boot a computer with a Basic Input/Output System (BIOS) which does not support booting from or through a Universal Serial Bus (USB) drive; and booting my computer from an external DVD drive, which could conceivably be purchased, is just one of the possible ways to solve the challenge I face with my current DVD-ROM/CD-ROM drive.

Correction to the second paragraph in the opening posting in this thread: The phrase “procedure needed to be boot” should instead have read “procedure needed to boot;” sorry, I made that error.

On 08/29/2011 07:16 PM, 2009Newbie wrote:
> I am currently a guy with a hardware
> and/or optical disc problem or problems

i have answered as best i can in your other thread…please do not post
the same problem in more than one place…thanks!!


DD
openSUSE®, the “German Engineered Automobile” of operating systems!

On 08/29/2011 07:56 PM, 2009Newbie wrote:
> sorry, I made that error.

NO reason to be sorry for such a small error…your communication was
clear enough.


DD
openSUSE®, the “German Engineered Automobile” of operating systems!