LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-03-2012, 08:22 PM   #1
Semash!
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
After making initrd.gz, i get UDF-fs: No partition found(1)


Hello everyone,
I'm having some trouble getting my new compiled kernel to work.

I installed Slackware 13.1 in an ext3 fs, which comes with linux 2.6.33.4, i copied the current kernel .config from /proc/config.gz to /usr/src/linux/.config, then patched the kernel with the respective bootsplash file,and everything went ok (No warnings or errors), later activated the NEW created module and some others by ~#make menuconfig, compiled and after several minutes my kernel's compilation was complete.

Ran:
Code:
root@darkstar~# mkinitrd -c -k 2.6.33.4-custom -r /dev/sda3 -f ext3
Later, updated initrd.gz to implement the bootsplash with the following command:

Code:
root@darkstar~# splash -s -f /etc/bootsplash/themes/slackware/config/backgr...stuff.cfg >> /boot/initrd.gz
updated lilo.conf to:
Code:
image = /boot/vmlinux-custom
initrd = /boot/initrd.gz
root = /dev/sda3
label = Slackware
read-only
Ran lilo, and rebooted.

Bootsplash is working perfectly, but i get Kernel Panic, i don't know why. It shows the following:

Code:
...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
UDF-fs: No partition found (1)
(1,1):ocfs2_fill_super:1006 ERROR: superblock probe failed!
VFS: Cannot open root device "803" or unknown-block(8,3)
Please append a correct "root=" boot option; here are the available partitions:
0800       78150744 sda driver: sd
0801       36523746 sda1
0802         498015 sda2
0803       31126400 sda3
0b00      1048575 sr0 driver: sr
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
Pid: 1, comm: swapper Not tainted 2.6.33.4custom #1
I've tried everything, making the initrd with "-m sd_mod:ext3", trying to add other drivers and nothing works. I think the problem is in the way i'm creating the initrd, but i'm out of ideas.

Please, help me find a solution to this.
Thanks in advance.

I forgot to mention, that when lilo loads the operating system, during the "Bios data check" process, the dots "jump" in one place, leaving it blank, and takes too much time than before, besides it prints a lot of more dots.

Code:
Loading Slackware...........................   ......................
.....................................................................
................................BIOS Data check successful.
Also, i can boot the system normally if i erase the initd entry from lilo.conf (#initrd = /boot/initrd.gz), but of course, without bootsplash at all. How could i make an uncorrupted initrd file that makes this work?

Last edited by Semash!; 04-03-2012 at 09:01 PM.
 
Old 04-03-2012, 10:26 PM   #2
Semash!
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
The mistake was in the way i loaded and compressed the initial ramdisk. I have another issue but i'll post the solution to this and open a new thread.

The solution is quite simple:
Clean the /boot/initrd-tree by running:
Quote:
root@/boot~# mkinitrd -c -k 2.6.33.4-custom -m ext3
Then create the splash initrd by running:
Quote:
root@/boot~# splash -s -f /etc/bootsplash/themes/slackware/config/bacnd..1024x768.cfg >> /boot/initrd-tree/bootsplash
And after that, update the initrd with the new tree by running:

Quote:
root@/boot~# mkinitrd -o initrd.splash
That made it. Update lilo to point to initrd= /boot/initrd.splash, run lilo and you're done.

Even the BIOS Data Check just prints one dot before loading OS.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making an initrd for more than just a filesystem seanaustin Slackware 9 09-17-2011 12:20 PM
Can't mount UDF Disks in CentOS - UDF-fs: No fileset found spoovy Linux - Desktop 4 05-29-2010 12:06 PM
kernel panic with initrd UDF-fs: No partition found (1) Gremo Linux - Hardware 1 09-28-2006 07:12 PM
Making an initrd for a squashfs steveo_mcg Linux - General 1 09-12-2006 10:06 AM
A 2.6.7 Kernel panic: looking for UDF-fs partition on hda1....help please RedHatMasta Linux - General 10 08-26-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration