General :: Mount - Filesystem Handling For Embedded Device?

Jan 21, 2011

I am developing a device that will run Linux as its operating system.The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any other PC running Linux.For several good reasons I am building my own "distribution", instead of using an existing one.What confuses me is how mount/umount of the root file system is handled.I boot my kernel with the commandline "root=/dev/sda1 rw" which works fine. But everytime I do poweroff or reboot Busybox complained about no /etc/fstab, so I decided to build one.Should I have an entry for my root file system? It seems like this is shadowed by the rootfs anyway. I.e. if I have the fstab entry "/dev/sda1 / ext2 1 1" mount still reports rootfs on / type rootfs (rw)/dev/root on / type ext2 (rw,relatime,errors=continue)My questions are:Do I need to worry? Will the drive be correctly unmounted by the kernel on poweroff/reboot?If I want to perform file system checking on boot, can I do that without resorting to an initrd?

View 1 Replies


ADVERTISEMENT

Debian Installation :: Mount Root Filesystem Failed: Device Or Resource Busy

Jun 16, 2010

I've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.

[code]....

View 9 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev/loop0 On //filesystem.squashfs Faild: No Such Device

Jun 18, 2010

my friend using XP and it was closed because he didnt activate it . he want to try Linux , i adviced him to use UBUNTU 10.10, but after we order the boot we got a loading screen for ubuntu then this error appeared

Quote: busybox v1.15.3 ( ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) enter 'help' for a list of built-in commands. (initramfs) stdin :I/O error mount: mounting /dev/loop0 on //filesystem.squashfs faild: no such device can not mount /dev/loop0 (/cdrom/casper filesystem.squashfs) on //filesystem.squashfs udevd[75]: worker [171] unexpectedly returned with status 0x0100 udevd[75]: worker [171] failed while handling ' /devices/virtual/block/loop0'

i change the cd to another one but an error was changed to :.............

View 7 Replies View Related

General :: Detect Filesystem Type (can't Mount Filesystem Image .img)

Mar 11, 2011

I am trying to mount a file image, like this

mount -o loop /tmp/apps.img /media/apps

But I get the following:

mount: you must specify the filesystem type

I try ext3:

mount -o loop /tmp/apps.img /media/apps -t ext3

dmesg says:

error: can't find ext3 filesystem on dev loop6.

I've also tried ext2, vfat etc. How can I detect the filesystem type of apps.img?

View 2 Replies View Related

General :: Display Boot Splash Image On Embedded Device Using Fbsplash?

May 13, 2011

I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.

View 1 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

Ubuntu :: Trace Any Embedded Device Using Blktrace?

Mar 21, 2011

I am using kernel 2.6.29 on my embedded device, and enabled config option Support for tracing block io actions after compiling kernel making its zImage (for porting to device) the folder block compiled all files of blktrace and created .o files.... After porting zImage to my embedded device when i try to run blktrace on it, it give me response "blktrace : not found" Any body have an idea? how to trace any embedded device using blktrace?

View 2 Replies View Related

Debian :: Installing Onto An Embedded Device Without The Use Of The Internet

Apr 18, 2011

I am to drop Linux onto an ARM9 NAS board to make it more useful than just a network attached storage device.

I know about U-Boot and I can install Debian Linux by booting the system via TFTP, and I can install Linux easily... if I have an internet connection.

My question is, how can I install Debian WITHOUT the use of an internet connection. I am looking into downloading the armel flavour of Debain and using that as a source, but I have no idea on how to install it onto an embedded system as it has no CD/DVD drive. It only has an ethernet port, 2 USB-2.0 ports and a serial UART port.

View 3 Replies View Related

Hardware :: GRUB Installation In Embedded Device?

Dec 10, 2010

I want to make a bootable USB drive with a Embedded Linux Image. The Embedded Linux Configuration tool has given me the vmlinux(image) and the menu.lst. I have done the following Steps; # fdisk /dev/sdb Then I got some option I deleted the old partition and made new one and selected the primary partition. then formatted the partition in ext2.

# mkfs.ext2 /dev/sdb1
# mount /dev/sdb1 /mnt
# mkdir -p /mnt/boot/grub
# cp menu.lst /mnt/boot
# cp vmlinux /mnt/boot
# umount /mnt

[Code]...

View 1 Replies View Related

Programming :: Find Sound Device - To Work On An Embedded Board ?

Feb 1, 2010

I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with:

The hardware manufacturer assures me the device is hw:0,0 so I set device to:

This gives me:

So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.

View 2 Replies View Related

General :: Unable To Mount Root Filesystem?

May 27, 2011

I am using GRUB bootloader. I can boot into windows fine. But booting into linux gives me the error "kernel panic: unable to mount root fs on unknown block(0,0)I got LILO to load linux fine but GRUB always gives me this error regardless of the linux OS for this particular computer.

View 11 Replies View Related

General :: Mount Two Loopback Files As One Filesystem?

Jul 26, 2011

I'm trying to run a persistent Debian distro on a USB thumbdrive, with the persistency data written in a mounted live-rw loopback file. However, the drive has to be formatted FAT32, and that poses a 2GB maximum limit on files, so I can't use the full 3GB space that is left on the drive after the Linux install. Can I make two loopback files and format/mount them as a single filesystem? If I can't I guess I'll have to repartition the drive, which I'd rather avoid.

View 6 Replies View Related

General :: Get Camera Not To Mount As A Filesystem On Connection?

Jul 11, 2011

I have an old Intel webcam that doubles as a standalone digital camera. When I plug it in, Fedora automatically mounts the memory for the camera as a filesystem.However, because it is old and clunky, if I try to use its webcam functionality after this happens, it crashes internally and nothing ever happens.Even if I unmount the memory, still remains "crashed".I know that if the memory was never accessed, the webcam would work, as this is how it is on Windows, and also how it was in a previous release of Fedora, which didn't automount

View 2 Replies View Related

General :: Mount A Filesystem When The System Boots?

Dec 21, 2009

I'm trying to mount a filesystem when the system boots, so i won't need to mount it everytime..

So what I did was copying the line of the filesystem I wanted to mount on startup from /etc/mtab:


Code:

And pasted it as it is, in the /etc/fstab file. when the system booted, it didn't work. not only that, I wasn't able to mount the filesystem at all, (it gave me some kind of an error) so I removed the line from fstab file and it all back to normal. how can I mount this filesystem on boot? (i'm using Fedora 12)

View 10 Replies View Related

General :: How To Mount Remote Filesystem For / Home Directory

Oct 17, 2010

have a Debian server which I use to hold my home directory for my user account. I used to use Windows 7 and connect to my /home/username directory via Samba which worked great. I could access all of my files as if they were sitting on my local PC, but they were actually sitting on my Debian server.

Now I have decided to give Ubuntu 10.10 a try (looks promising so far!).One thing I'm not sure how to do is to mount my home directory from my server! I am able to open an sftp connection to my server, but not able to access them natively as they were /home/username on my local machine.I'm assuming I need to mount my home directory somewhere in my fstab before it starts up, but which protocol should I use? I'm used to using windows networking, but am trying to get more into linux.Should I use NFS?

View 2 Replies View Related

General :: Kernel Panic - No Filesystem Could Mount Root

May 5, 2011

I have just tried to update my kernel from 2.6.24.5 to 2.6.39-rc3 on a Slackware 12.1 distribution. I have successfully updated the kernel before, but it was from a newer distribution and newer kernel(Slackware 13.1 and 2.6.33.4). After I updated and rebooted, I got the following error:

Code:
List of all partitions:
0300 4194302 hda driver: ide-cdrom
0800 312571224 sda driver: sd
0801 244197560 sda1 00000000-0000-0000-0000-000000000sda1
0802 68372640 sda2 00000000-0000-0000-0000-000000000sda2
No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,1)
Pid: 1, comm: swapper Not tainted 2.6.39-rc3-smp #1 .....

View 3 Replies View Related

General :: Mount: Unknown Filesystem Type 'ntfs'

Jul 7, 2010

I dont know anything about linux and just been assigned to amount a drive to it. here's what i did so far: Version of Linux using Red Hat Enterprise Linux Server release 5.3 (Tikanga) [root]# mount -t auto /dev/sdb1 /tmp/archive mount: unknown filesystem type 'ntfs'

when checking the /proc/filesystems, i noticed that 'ntfs' is not listed there, several forum suggested i try running 'modprobe ntfs'. If that is not found, you'll need a kernel with ntfs support. i'm so lost, where to i get the modprobe ntfs

View 2 Replies View Related

Server :: NFS Server On Embedded Plateform : "possibly Unsupported Filesystem Or Fsid= Required?

Jul 16, 2010

I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet) but i can't mount my exports folders from my client. Here are messages :

[Code]...

View 2 Replies View Related

General :: Failed To Mount NTFS In RHEL5 - Unknown Filesystem

Apr 6, 2010

I have download file from this site and have done these steps [URL].
tar -xvf ntfsprogs-2.0.0.tar.gz
chown root.root -R ntfsprogs-2.0.0
cd ntfsprogs-2.0.0
./configure
make && make install

Still I have failed to mount ntfs partition with this command..
mount -t ntfs /dev/hda1 /mnt
or
ntfs-3g /dev/hda1 /mnt

The error is .................
mount: unknown filesystem type 'ntfs'
I am using RHEL5.4 and kernel is 2.6.18-164.el5

View 3 Replies View Related

General :: External Hard Drive Can Not Mount On, It Is Of Ntfs Filesystem?

Apr 10, 2011

my external HDD of 750GB bring me an error during mounting!it asks me to get to windows and reboot twice or cmd chkdsk/f of which when i do it only option comes is to format it, i do not wanna format it coz it's with a lot of ma useful data!am using debian just asking if its possible to retrieve ma data from it using commands persay and what are those

View 2 Replies View Related

General :: No Filesystem Could Mount Root , Tried : Minix Msdos Iso9660?

Apr 12, 2011

I'm trying to boot Emdebian Grip 1.0 built on Compact Flash on a mini PC with grub2 as bootloader. Unfortunately , the booting is unsuccessful and I got stuck into an error message :Code:No filesystem could mount root , tried : minix msdos iso9660kernel panic - not syncing : VFS : Unable to mount root fs on unknown-block (22,1)It seems grub2 hasn't tried to mount ext2 as the filesystem and my Compact flash is formatted as ext2. Here is the menuentry of the grub.cfg :

Code:
menuentry "Debian GNU/Linux, linux 2.66.2.9-custom" {
insmod ext2

[code]...

View 4 Replies View Related

General :: Set NTFS (fuseblk) External Media To Mount With UTF-8 Filesystem

Dec 24, 2010

Kubuntu 10.10 nicely mounts vfat external media as UTF-8, see for example my disk-on-key:

Code:
/dev/sdd1 on /media/DOTANCOHEN type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1002,gid=1002,shortname=mixed,dmask=0077,utf8=1,showexec)

However, NTFS external media is not UTF-8, and it is giving this user a hassle as her native language cannot be represented in ASCII: Code:
[Code]....

View 2 Replies View Related

Ubuntu :: Can't Mount The Installer CD: $sudo Mount - Unknown Filesystem Type 'iso9660'

Mar 12, 2010

I installed Ubuntu Server 9.10 in a virtual machine, and I'm trying to install the VMware Tools but I can't mount the installer CD: $ sudo mount /dev/scd0 /media/cdrom mount: unknown filesystem type 'iso9660'

View 1 Replies View Related

General :: Cannot Find USB Device To Mount?

May 23, 2011

How can I find which /dev/? device to mount my USB hard drive on redhat 3 taroon, I've been googling a lot and checked log files and still no clue. I'm trying my last chance with you experts, # /sbin/fdisk -lgives nothing about the USB drive

# lsusb -vv
Bus 004 Device 005: ID 059f:0951 LaCie, Ltd
Device Descriptor:

[code]....

View 4 Replies View Related

General :: Set Up Usb Device To Be Available To Mount And Not For Other Users?

May 18, 2010

I am trying to set up my usb device to be available to mount and umount only for me, not for other users. Using Slackware 12.2Entry in fstab is as follows:

Code:
/dev/disk/by-label/USB /media/usbvfat auto,group,user,noexec,gid=usb,umask=007 0 0
device information:

[code]....

View 3 Replies View Related

General :: Can't Mount Usb Disk - It Just Create /dev/sg Device But No /dev/sd

Dec 23, 2010

I have a Corsair R60 ssd disk which is a disk with both sata and usb connectors. But the usb thing seems to be a bit non-standard, or maybe its just my fedora linux.When I insert the disk using a usb cabel to a running Fedora 14 linux system, a device called /dev/sg3 is added but that is all. No new /dev/sd* device is created so I can't mount the disk.

If I look at

cat /proc/scsi/sg/device_strs

I get

ATA Hitachi HTS54321 FB2O
HL-DT-ST DVDRAM GSA-T50N RP05
Seagate Desktop 0130
Corsair CSSD-R60GB2

So the disk is there. (The last entry) but my linux will for some reason not see it as a usb hard disk. When I insert other usb disks they work fine. It is only this specific disk which causes problems. I have tried on 3 different computers with the same result.

A hint to the problem may be that if I add the disk to a windows system(With usb) the disk is called "A fixed disk" and not a portable disk as expected. The disk works fine with linux If i connect it with the sata cabel, but I would really like to have it working with usb too. (To mount it on computers without sata).

Added:I did try to mount /dev/sg3 but mount say that its not a block device. (File say Its a character special device).

Added output from dmesg:

[ 97.454073] usb 7-1: USB disconnect, address 2
[ 105.913055] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 107.048054] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 107.162900] usb 2-3: New USB device found, idVendor=1b1c, idProduct=1ab8

[code]....

I found an other guy with exactly the same problem [URL] so I think its beginning to look like a bug in the drives firmware or in the linux kernel.

Final update:Corsair have said that the disk design is broken and there does not seem to be any way to make it work.

View 1 Replies View Related

General :: Cannot Mount Hotpluggable Device In Xfce

Mar 27, 2010

i can't mount my USB flash disk using GUI... trough normal "mount" command it works fine, but i want to make it automatic. here is error output:

Code:
Rejected send message, 1 matched rules;
type="method_call", sender=":1.13" (uid=1000 pid=2301 comm="exo-mount)
interface="org.freedesktop.Hal.Device.Volume"
member="Mount" error name="(unset)" requested_reply=0
destination="org.freedesktop.Hal" (uid=0 pid=1488 comm="/usr/sbin/hald))

View 3 Replies View Related

General :: Mount Error 6 = No Such Device Or Address

Feb 10, 2011

[root@servers guest]# /bin/mount -o -uid=root,gid=root,username=userid,password=user1passwd //172.16.1.212/backup/user1backup /mnt/tmp

retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@servers guest]#

I also tried:

[root@servers guest]# /bin/mount -t cifs -o -uid=root,gid=root,username=user1,password=user1pass //172.16.1.212/backup/user1backup /mnt/tmp

but no luck!

View 4 Replies View Related

General :: Get Fstab To Auto-mount A Removable Device?

Feb 23, 2010

I'm trying to get fstab to auto-mount a removable device when its plugged in? Is this possible and if not what is the easiest way to auto-mount a removable device?

View 3 Replies View Related

General :: Alias A Device For The Mount Command In RedHat 9?

Aug 9, 2011

I have a program which mounts /dev/sdb1 for which I lack the source code. This device does not exist on my RedHat 9 system and I want to create /dev/sdb1 such that it's an alias for /dev/hdb1 Can I do this? with MAKEDEV?

I need to have an alias which will allow it to mount, not create a symbolic link to an already mounted directory. i.e. 'mount /dev/sdb1 /mnt/harddrive' should actually mount /dev/hdb1

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved