Ubuntu :: Mount Loopback Device As Root

Jun 23, 2011

I am trying to expand my Ubuntu partition into my Windows 7 C: drive, but the win7 partioner will not let me shrink it because of immovable files. Is there anyway for me to but an loopback device in the windows partion, and have Ubuntu boot with that as the root device?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Failure To Mount Root Device On Startup

Jan 14, 2010

Recently installed some minor software, some games and Ubuntu Tweak, I am not sure if that's what caused this issue or not. I shutdown after the installations, then when I tried to start back up the small, white ubuntu logo appears just like it normally does, then it just goes to a black screen. I turned off the computer and restarted in (Recovery Mode). It goes about its thing then it says it is waiting for root file system, then after about 30 seconds it says "Gave up waiting for Root File System" how to fix this without reinstalling?

View 2 Replies View Related

OpenSUSE Hardware :: Cannot Mount USB Serial Device - Not Even As Root

Jul 19, 2010

I want to mount a serial device. To get do the data section in the device and retrieve image files. Not even root can mount.

Code:
# ls -l /dev/ttyU*
crw-rw---- 1 root uucp 188, 0 Jul 20 13:07 /dev/ttyUSB0
# mount -t fuse /dev/ttyUSB0 /media/M65
/bin/sh: /dev/ttyUSB0: Permission denied

[Code]....

View 9 Replies View Related

Fedora :: WebCamStudio- No Loopback Device

Jul 21, 2010

I have extracted the WebCamStudio java application into a folder in my Fedora 13 x86_64 installation. I can run WebCamStudio with the command java -jar "WebcamStudio.jar".

I can successfully select sources and view preview etc. However, the bottom status line permanently states "no output". There is no vloopback device to select in Cheese, camstream, Skype, AMsn etc. Does anyone know how I can get the loopback device to work?

I have added my username to the group "video"

I only have /dev/video0 - should there be another module for the loopback device?

Linux 2.6.33.6-147.fc13.x86_64
WebcamStudio 0.55a

View 3 Replies View Related

Networking :: Pseudodevice And Loopback Device ?

Nov 22, 2010

The concepts of pseudodevice and loopback device ?

View 1 Replies View Related

General :: Broken Loopback Device ?

May 26, 2010

I have the following scenario: I have a file that I want to edit from certain point a certain amount of bytes.

I tried using losetup but failed:

Code:

If I loop the file entirely it works, but that's not helping me. (I'm actually keeping the C option for last since shell programming is less restrictive.

View 5 Replies View Related

Networking :: Communication Without Loopback Device

Jan 13, 2010

I have two ethernet card on my computer, I want to make a TCP or UDP communication between these two cards, so I disable loopback: #ifconfig lo down. but with out loopback I can't even ping an eth from another one. how should I do? I want traffic to really pass eth cards.

View 2 Replies View Related

Server :: Loopback Device - Maximum Size

Sep 24, 2010

This seems like a relatively simple question, but the answer seems to elude everyone: What is the MAXIMUM SIZE of a Linux loopback device (not counting any specific filesystem limitations)? Is it the maximum size of a linux block device?

View 4 Replies View Related

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

Software :: Mount UFS Loopback ?

Apr 13, 2011

I am trying to mount a raw/dd image of solaris hdd in Linux with the following command:

Code:

Does Linux have tool for checking ufs filesystem integrity?

View 14 Replies View Related

General :: Create A Growing Image For A Loopback Device

Aug 10, 2010

I was wondering if it is possible to create a growing image for a loopback device. Like a file that you create that will grow with the data that is placed on it instead of a file that has to be the size of the entire file system?

View 4 Replies View Related

SUSE / Novell :: DNS And 127.0.0.2 Address / Loopback Device Lo Has Two Addresses?

Apr 19, 2010

We�re experimenting with deploying SUSE 10 SP3 systems and adding them to a Windows domain and DNS. Oddly, when we register in DNS, it gets registered under two address: the real IP address, and the address 127.0.0.2. Also, an ip addr command shows that the loopback device lo has two addresses: 127.0.0.1 and 127.0.0.2.

The above behavior is just on SP3. On SUSE 10 SP2, the lo device has only the 127.0.0.1 address, and the system is able to register correctly in DNS.

Do you know what the 127.0.0.2 address signifies, or how to get rid of it?

View 3 Replies View Related

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

Jan 26, 2011

I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.

Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.

Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }

When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.

View 1 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 :: Ubuntu 6.06: Mounting /root/sda1 /root Failed: No Such Device

Jan 22, 2010

An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:

Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory

[code]....

I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:

sudo mount -t ext3 -o rw /dev/hda1 /mnt

I get the following error:

mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so

I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :

[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)

[code]...

Update: After running e2fsck -p /dev/sda1, I get the following info:

/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks

View 1 Replies View Related

Ubuntu :: Fresh 9.10 Install Reboot Error No Device - Mount Partition Mount: Can't Fin?

Jun 24, 2010

what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab

so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)

View 1 Replies View Related

Ubuntu :: Mount: Only Root Can Mount /dev/sdb1 On /media/MyUSBDrive

Apr 27, 2011

I used the ntfs-config utility to mount my windows drives automatically at startup. While doing so, I had my USB-HDD still attached, and after making changes and rebooting, it did something unknown I didn't expect and I cannot mount my USB-HDD again, and it gives me the following error message:

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb1 on /media/MyUSBDrive

I did manage to open it somehow, but then all the data was erased apart from ~3 GiB [edit: it's got some kind of extra drive built-in which is mounted as a CD-ROM drive, and when I open that one first all the files are missing in the actual drive, otherwise I get the message above]. I don't know what information I should include here, but my fstab looks like this:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

[code]....

This line in terminal:

sudo mount -t ntfs-3g /dev/sdb1 /media/sdb1

Gives:

fuse: failed to access mountpoint /media/sdb1: No such file or directory

What should I do to recover my files and fix the mount error? [edit: at the very least, how do I backup my files onto my internal HDD so I can format it and recover it in this manner]

View 6 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

Ubuntu :: VFS: Cannot Open Root Device "mapper/mylaptop-root" Or Unknown-block(0,0)

Nov 5, 2010

Installed Maverick last night... the system has been working fine all day... then on a reboot tonight got the following.

RAMDISK: gzip image found at block 0
usb 1-2: new high speed usb device using ehci_hcd and address 2
uncompression error
VFS: Cannot open root device "mapper/mylaptop-root" or unknown-block(0,0)

[code]....

Then it gives the Kernel Panic

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper not tainted 2.6.35-22-generic #35-Ubuntu

Then a call trace...This is a brand new install of Maverick I copied my files onto a USB and did a fresh install on the whole drive using the alternate CD (the desktop and netbook editions both failed to read on my system) was previously using Karmic with no issues. I tried to e2fsck the dev/sda1 from the CD in "repair broken system" mode but the return was "clean" I read that as the file system being intact but this is an area that I have no real knowledge in.

View 1 Replies View Related

Ubuntu :: Authentication To Mount Device?

Feb 7, 2010

Cant I get rid of the window which says "authentication required to mount the device" every time when I try to open a common drive?

View 1 Replies View Related

Ubuntu :: How To Mount A Device For All Users

Sep 12, 2010

OS: Ubuntu 10.04 (in VirtualBox virtual machine) how to mount a device for all users. I tried everything and can mount it only for root.
I'm trying to mount shared device in VirtualBox virtual machine.I added record in `fstab` file:

shared /mnt/shared vboxsf rw 0 0

I got /mnt/shared permissons: drwx------I've tried to add options 'rw,user' in fstab, but the option 'user' is not supported by mount program in my system.

View 1 Replies View Related

Ubuntu :: Use Ifuse Instead Of Gvfs To Mount Device

May 29, 2010

I installed ifuse (a utility to mount your iPhone or iPod touch via the USB cable) and I want this to be the default way my iPhone is mounted when I connect it. Currently, when I connect it, it gets mounted by the gvfs (Gnome virtual file system) at ~/.gvfs/iPhone. Either one change should be made (the 'default command to execute when this device is connected') or two changes (tell gvfs not to mount, and tell ifuse to automount). I don't know how I can get this to work.

View 5 Replies View Related

Ubuntu :: Creative Zen (MTP Device) Will Not Mount Sync

Oct 12, 2010

In 10.04 I was able to plug in my MP3 player and move songs to and fro in Banshee or rhythmbox. Now, I can mount it, but it freezes banshee when trying to access it from banshee (it does appear in the list).

View 3 Replies View Related

Ubuntu :: Finding The Mount Point Of A Particular Usb Device

Mar 9, 2010

I'm developing a little script that automatically detects the insertion of a usb device and tries to open the directory of this device in nautilus. I am using Python

So far I was able to sample and compare the changes that occur in the output of 'lsusb' command and get information pertaining to the addition and removal of usb devices.

Now I want to know if we can use that information (or some other info present in the usb sybsyste --/sys/bus/usb folder) to determine exactly where this device has been mounted.

I know you might recommend using 'mount' as a quick way to do the same. I have already done that, but the limitation is that mount only gives u the mountpoint information. How does one (using a program/logic) determine which mount point corresponds to which device.

If I were to plug in two devices together, and both were automatically mounted, how will I be able to tell which mountpoint corresponded to which device? the output of lsusb provides no information whatsoever about where the device is mounted. So its kind of a deadlock

from lsusb ive been able to gather : Device name, serial and bus number and device number

Another thing i've noticed is the 'autoplay'. Whenever I insert a my music player into my computer, it gets mounted automatically and I'm presented with options about simply opening the file or playing it with rhythmbox... now if all that was being done was polling the output of mount, they would not be able to know that the device inserted was a music player (that info u can get from the /sys/bus/usb folder only using the device class and subclass info). So obviously the two are linked somewhere...

View 3 Replies View Related

Red Hat :: Cannot Open Root Device?

Oct 25, 2010

I have a redhat ES3 I want virtualized.the virtual machine encounters a problem starting when it is virtualized

There are this message :
RAMDISK : couldn't find valid RAM Disk image Starting at 0.
VFS: Cannot open root device "LABEL=/" or 00:00
please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

View 2 Replies View Related

Ubuntu / Apple :: Permissions - Still Waiting For Root Device (OS X)

Jan 9, 2010

I installed ubuntu on my MacBook Pro, and now I get the infamous "still waiting for root device" when booting mac os x. I couldn't find any solutions that worked (macbook pros don't have a BIOS, or any drives that are easily removable). Anyway, so I have ubuntu working, and I need some files from OS X before I would consider reinstalling, etc. So I mounted the drive, went to users, etc. and it says that "I don't have the permissions necessary to view the contents of ****".

I did chmod 777 /media/os x/Users/* but that led to "Could not access: No such file or directory" (there's a space between os and x, I think it counts it as two commands or something and I can't rename the drive). Any way to give myself the permissions to access my files, or maybe just to copy over the whole hard drive to my main computer, or maybe somehow solve the "still waiting for root device".

View 2 Replies View Related

Ubuntu :: Unable To Start - Cannot Open Root Device

Apr 23, 2010

When booting up my IBM Thinkpad Ubuntu stalls giving the following messages:

Cannot open root device "uuid=58a5831c-5757-49f8.....

Kernal Panic - not syncing: Unable to mount root fs on unknown-block

Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.

I am or was using Hardy.

It seems to me that the program is telling me it can't find the hard drive or the partition where the OS resides. I have my drive partitioned with into sections for booting, the OS and my Home directory.

View 7 Replies View Related

Ubuntu Installation :: Gave Up Waiting For Root Device

Oct 18, 2010

this is my first setup of ubuntu. And I�m quite familar to Linux allthoug it�s been a while since my last setup. Anyway, my system is brand new and consist of the following parts:

AMD Athlon X2 240e on MSI 880GMA-E45 (SB850)
4GB RAM (DDR3)
All drives connected by SATA using onboard SB850 ordered by:
1 LG BluRay optical drive
2 WD Caviar Green WD10EARS 1TB
3 WD Caviar Green WD20EARS 2TB
4 WD Caviar Green WD20EARS 2TB
5 WD Caviar Green WD20EARS 2TB
6 WD Caviar Green WD15EARS 1,5TB

I set the SATA controller to AHCI because I want to set up a software raid (level 5) on the three 2TB-disks. The first disk (1TB) should be the ubuntu boot disk (no raid). The last one (1,5TB) is currently not connected - it will be added later. First I struggled booting the ubuntu server 10.10-CD (x64) from the bluray drive - after succesfull starting the setup procedure it told me that it cannot access the drive. It seems that drivers are missing. No problem - I connected an usb dvd drive to the system and gave it a try.

The boot order was set to usb-dvd, then bluray, then the first harddisk (1TB). Setup seems to run fine using the usb dvd drive. I�ve chosen the first disk (shown as /dev/sda) for the installation. It was automatically configured as one big root-partition and a small swap-partition. Grub was installed on the MBR of the first disk. But after restart GRUB tells me "Gave up waiting for root device" and "ALERT! /dev/disk/by-uuid/whatever does not exist. Dropping to a shell!". Obviously the boot loader cannot find (or access) the volume containing the kernel.

I made some research and found some other people complaining about some mixup of hdaX and sdaX devices on SATA devices - but these statements where from 2007. Another point is that the USB optical drive is my boot device while the installation runs, but not afterwards - does this matter? I also tried installing Ubuntu server 10.04, but is behaves the same. Please keep in mind that the goal is to have ubunto server 64bit running on this system - that�s it. No dual boot is needed. And there is no data on any disk that should be taken care. It�s a very new system. Where should I start to fix this issue? What�s wrong with the current linux boot loader using SATA disks connected to SB850 SATA controller?

View 3 Replies View Related

Ubuntu :: Waiting For Root Device - Dropping To Shell

Nov 29, 2010

I was upgrading online through my android phone's easytether app. My phone rang, and I was bounced offline. When I came back the upgrade did not resume, and when I tried to start over, dpkg and whatever was busy so I closed all my windows and tried to reboot. This is where I ended up: Here is a screenshot:

View 3 Replies View Related

Installation :: Ubuntu 8.1 - Gave Up Waiting For Root Device

Feb 7, 2009

I did an installation of Ubuntu 8.1 on my laptop. I ran the live CD first to check that everything was ok and got no problems. But when I try to boot I get this error:

Boot from (hd0,0) ext3 e194- long number
Gave up waiting for root device.
Alert /dev/disk/by-vvid/e194- long number

I tried a different hard drive with the same results. So I installed XP and everything worked fine. This makes me believe that all of the hardware is ok and I have some config screwy.

View 14 Replies View Related







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