LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-09-2008, 01:49 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Thumbs up No filesystem could mount root, tried: cramfs squashfs romfs


I am giving you details about my building process (using T2 SDE) for embedded target:
1. I downloaded t2-7.0-rc2.tar.bz2 and extract it in my root directory.
2. # cd t2-7.0-rc2
3 # ./script/Config -cfg new
4 then I choose:
- Target Distribution
(embedded) Generic Embedded
-Target Style
(dietlibc) diet libc (less is more)

-Architecture, CPU and Optimisation
(x86) x86 (AMD, Intel, VIA and compatible)
(i486) Optimised for intel 486
(isolinux) Use Syslinux/isolinux as CD loader

5 # ./script/Build-Target -cfg new
6. Some packages are failed to build, I removed those from config/new/package file. (i.e. libtool, cpio, coreutils, findutils, ppp, zile, popt, util-linux, psmisc. tftp-hpa, clockspeed) and add cramfs.
and continue rerun ./script/Build-Target -cfg new
7. Build process completed.
8. # dd if=/dev/zero of=/boot/initrd bs=1M count=20
9. # mke2fs -F -m 0 -b 1024 /boot/initrd
10. # mkdir /mnt/test
11. # mount -t ext2 -o loop /boot/initrd /mnt/test
12 and copy the contents of /root/t2-7.0-rc2/build/new-7.0-rc2-embedded-x86-i486/TOOLCHAIN/rootfs into /mnt/test directory.
13. # umount /mnt/test
14. # gzip -9 /boot/initrd
15. initrd.gz file is created
16. I copied initrd.gz, vmlinuz (/root/t2-7.0-rc2/build/new-7.0-rc2-embedded-x86-i486/boot/vmlinuz_2.6.21.7-dist) and syslinux.cfg in Compact Flash.
17. # syslinux /dev/sdb1 (to make CF bootable).
18. syslinux.cfg contain:
default vmlinuz root=/dev/ram0 initrd=initrd.gz ide=nodma PMEDIA=ideflash PKEYS=us
19. when I boot my system with CF support. It ended with these errors:
No filesystem could mount root, tried: cramfs squashfs romfs
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
 
  


Reply



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
modifications in a squashfs filesystem fenix4life Linux - General 2 11-10-2009 03:26 AM
Re-mount root filesystem ( / ) advanxiang Linux - Kernel 2 11-05-2007 06:55 PM
HELP..can't mount root filesystem WindowsDependant Linux - Software 11 02-20-2006 08:20 PM
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 02:12 PM
elx install cramfs magic unable to mount root lynniej Linux - Newbie 0 09-08-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:03 AM.

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