Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

#!/bin/sh
mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2

[Code]....

The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

Debian :: Freezing On First Boot At Loading Initial Ramdisk?

Apr 22, 2011

I just performed my very first linux install. I used the Debian 6.0.1a iso. I made it all the way through the installation with no problems whatsoever. I was able to select the version from the grub screen, still everything seemed to be going fine...then it froze. I attached an image of the screen where the system froze:

Its basically the loading screen, times 4! At the top left in case its too hard to read, it says: Loading Linux 2.6.32-5-686, then...Loading initial ramdisk... This sounds all fine and dandy to me but it freezes here. I've tried searching the forums and google for an answer and have come up empty...I'm sure someone has had this problem but it seems to be a tough thing to search for. Would appreciate all the help I can get! Oh and btw, here are the system specs:

circa 2001ish Dell Dimension 4300
P4 1.4ghz
256 ram
onboard video etc...

View 2 Replies View Related

Debian Installation :: First Boot - Stuck On 'Loading Initial Ramdisk'

Jun 24, 2011

I've just installed Debian 6.0.1a on a HP Proliant ML115, the install seemed to go ok. As it began to start up it 'Grub Bootloader' loaded then on the screen after the bootup froze at 'Loading initial ramdisk'

Unfortunately im a complete novice to debian

View 10 Replies View Related

Debian Hardware :: Wheezy - GMA500 Black Screen After Loading Ramdisk

Aug 21, 2013

I have just installed Debian Wheezy on an E6XX Intel platform and after loading ramdisk, the screen goes black and I cannot use the system.

*) In the beginning, I tried to pass "nomodeset" in Grub, but after loading ramdisk, it tries to change screen's resolution and it goes blank.
*) gma500 output in dmesg can be seen in [1] at the bottom of this page.
*) I tried passing "GRUB_GFXMODE=640x480
GRUB_GFXPAYLOAD_LINUX=640x480" + update-grub, but it keeps failing.
*) I examined EDI's monitor output through "sudo get-edid |sudo parse-edid" (see [2] below), it seems that it is not possible to get the EDID information from the screen correctly. However, I am using this screen with xrandr with Debian Squeeze and I have no problems.

>>>>>>>>>>>>>>>>> [1] dmesg about "gma500"
[ 10.164297] gma500 0000:00:02.0: setting latency timer to 64
[ 10.164325] gma500 0000:00:02.0: Enabling MSI failed!
[ 10.164923] [drm] internal display is MIPI display
[ 10.167632] gma500 0000:00:02.0: VBT signature missing
[ 10.167828] Stolen memory information
[ 10.167840] base in RAM: 0x3f800000

[Code] ....

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
parse-edid: IO error reading EDID

View 4 Replies View Related

Debian Installation :: Jessie Stuck At Loading Initial Ramdisk - UEFI Mode

Oct 2, 2014

So I managed to install Debian Jessie on a MSI G70 2PE Apache Pro that came with Windows 8.

First I partitioned some space on the laptop. Then I put on the net install cd for Debian and installed it on UEFI mode. It installed correctly.

Now I'm on Grub and when Debian tries to boot it gets stuck on "Loading initial ramdisk". The cursor under it doesn't even blink. The only way to get out of there is by Ctrl-Alt-Delete. Secure Boot is turned off. Fast boot is also off. If I try to boot on recovery mode gets stuck all the same.

The options on my grub are

Debian GNU/Linux
Advanced options for Debian GNU/Linux
Windows Boot Manager (UEFI on /dev/sda2)
System Setup.

If I choose the Windows option, Windows boots, no problem.

If I choose the edit option for the Debian entry this is what it shows

Code: Select allload_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then

[Code] ....

What is happening and what should I try to make this work? Could it be a graphics card issue since this computer has a Nvidia Gpu?

View 1 Replies View Related

Debian Configuration :: Compiled Kernel With Initial Ramdisk?

Apr 30, 2011

Howto create squeeze self compiled kernel with initial ramdisk?I need some more details, I never done before.

View 14 Replies View Related

Debian Configuration :: Create A Ramdisk At Boot Time?

Jun 1, 2011

On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.

With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?

View 3 Replies View Related

Ubuntu :: Grub2 - Error: "loading Initial Ramdisk Error: File Not Found"

Oct 24, 2010

I have a long running 9.10 installation. All of a sudden, on boot, I get this error: "loading initial ramdisk error: file not found" If I hit 'E' at the menu entry, I can scroll all the way to the end of the boot command, and it appears that the last 'c' on 'generic' is missing from the kernel name. If I add the c and hit ctrl-x it boots fine. The grub.cfg appears to be correct, it has the full generic spelled out.

View 9 Replies View Related

Debian Configuration :: Send Mail From System Commandline As Root User?

Jul 26, 2011

I tried to send mail from my debian system commandline as root user But i did not get the mail in the destination email inbox No errors was shown

View 1 Replies View Related

Debian Configuration :: Can't Copy A File From SMB Share To The Local File System

Aug 17, 2015

There is this bug in the latest version of Ubuntu, which is also Jessie, which is:

Can't copy a file from SMB share to the local file system: Software caused connection abort

The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".

Here is the reference material on this bug: [URL] ....

People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....

View 0 Replies View Related

General :: How To Umount "/" File System

Jun 3, 2011

I want to umount root partition. below is the o/p for df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 12G 3.2G 7.8G 30% /
tmpfs 506M 0 506M 0% /dev/shm

If i give #umount /dev/sda1 im getting the below error.i can't unmount the file system

umount: /: device is busy
umount: /: device is busy

View 14 Replies View Related

Debian :: Fresh Install - Root File System Error?

Mar 1, 2010

After a fresh install of Debian I came across an error Im hoping you guys can help me with. Ive searched for the error and it appears there are multiple reasons that could be causing it. To compound the problem, Im at work so I dont have the specific error messages....so I just installed Lenny (standard install, no desktop) using a USB installer and everything went very smooth. On first boot, the system paused while waiting for the root file system. After a minute or two it just errored out complaining it could not find the root file system and put me at a (vmlinuz) prompt?My guess is that I need to go into my bios and change my boot priority.. but again, thats just a guess.

View 1 Replies View Related

OpenSUSE Network :: NFS Umount Only Works With Root?

Mar 27, 2011

I mount my NFS shares with fstab entries likexxxx.xxxx.xx:/srv/vdr /media/vdr_video nfs noauto,user,bg,soft,intr,retry=5 0 0 With openSUSE 11.2 works this fine. With openSUSE 11.4 installation (no upgrade) only NFS mount works fine. The umount command works only with root.

View 9 Replies View Related

Debian Installation :: Encrypted LVM Install - No Root File System Detected

Jun 1, 2013

I'm a long time user of Debian, but I'm having trouble with my partitioning process. Here is where I currently stand:

I am installing the latest Wheezy build. I am trying to install debian with an encrypted LVM that spans two hard disks.

My partitioning layout is as:

1. /home
2. /root
3. swap
4. /boot

I then added partitions 1, 2 and 3 to a physical volume group. I then took that physical volume group and added it to a logical volume. Then I encrypted the logical volume, leaving the /boot partition untouched. I was under the assumption that the only partition the system needed free to reach the loading of the LVM is the /boot partition, as it holds the files necessary for booting. But when I attempt to finalize the disk, it gives an error stating, "No root file system detected". That would be an issue as it is currently sitting inside the encrypted LV. Am I wrong in including the root partition in the encrypted LV?

What is the best way of having as little of my file system non-encrypted as possible while still allowing a proper boot?

View 9 Replies View Related

Debian :: Not Loading \ Gets Stucks At Mounted The Root?

Jun 3, 2010

I hv installed debian (lenny). My problem is that sometimes it loads perfecly, but on other times it gets stucks at mounted the root. and waiting for the root. wht shd i do?

View 14 Replies View Related

General :: Simple Way To Umount NFS Mount In System?

Oct 25, 2010

I've mounted a share using standard nomenclature for the NFS mount command with the following command line:

mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw)

mnt_for_70 is a mount point I created on {IP address2}

I'm confuse and want to be sure I use the correct command on the correct host to correctly umount the nfs share.

Would I execute umount /mnt_for_70 on {IP address2}

Not sure if such a simple command will work. As this is a semi-production host pair, I hesitate to just umount so simply & I have no test systems to try this on...

View 2 Replies View Related

Debian Configuration :: Loading Video At Boot

Dec 18, 2015

I did a fresh install of Debian Jessie and I have problem booting up with video. I have to boot with "nomodeset" argument or else the boot sequence bugs, and I see a straight line of funky little color squares on the screen. And it boots with nomodeset.

lsmod do lists "nouveau".

So I don't get what's wrong. I have a Nvidia Geforce GT 750M 2gb (Lenovo y400 notebook). My graphic card is listed in the supported hardware of "nouveau"

I remember having a very similar problem on Ubuntu and installing the proprietary driver solved it. So maybe my hardware isnt supported by nouveau? But I would prefer to use an open-source driver than the prorietary.

Here is the kernel log: (I pasted only the lines which contains "nouveau")

Dec 18 11:55:02 Prototron kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=3743665a-bd92-4d96-9733-e6934e0c9543 ro quiet modeset=nouveau

Dec 18 11:55:02 Prototron kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=3743665a-bd92-4d96-9733-e6934e0c9543 ro quiet modeset=nouveau

[Code] .....

View 13 Replies View Related

Debian Configuration :: Loading Modules At Boot?

Aug 29, 2010

I have to load the ip_conntrack modules every time I reboot. How do I get the iptables modules to load automatically at boot. It seems they are supposed to auto load when they are needed but they are not doing that. I have to do modprobe on them. also does anyone know where I can download all the modules available for iptables? I looked on the netfiler site and did not learn much.

View 1 Replies View Related

Red Hat :: Mount The Whole System Into The Ramdisk?

Dec 9, 2009

how could i mount the whole system into the ramdisk?I follow the article "http://www.linuxquestions.org/questions/red-hat-31/building-a-diskless-redhat-enterprise-linux-cluster-765393/",and it works.when i use the "df -h" on the diskless client .I find many system driectory is mountted from image_server.when i stop the connection between img_server and diskless client,the diskless client stop working. my question is how can i mount the whole system into ramdisk.

View 2 Replies View Related

Debian Configuration :: Lenny Not Loading Iptables Rules

Dec 30, 2010

I'm having some trouble with the configuration of the iptables. I want to setup a network server to serve as Fail Over (for my 2 ISPs), DHCP and DNS. I have 3 network cards, 2 connected to ISP's routers and 1 that serves as UPLINK for my switch.

I want to add some Iptables rules so I can achieve what I want to do. The problem is that the rules I try to use, they have to effect.... they don't load, here are the rules I am trying to add:

#iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j SNAT --to EXTIP

When I try to check to see if it loads, with the command:

#iptables -L

It returns empty

View 2 Replies View Related

General :: Script - Hook Into System Mount / Umount Event?

Mar 27, 2010

Is there a way to provide post-mount and pre-umount scripts in Linux?
I am trying to do some scripts on storage media when mounted and before umounting (eg, for syncing).

View 3 Replies View Related

Fedora :: RAMDISK: EOF While Reading Compressed Data ...Kernel Panic - Unable To Mount Root?

Jul 31, 2010

I was following this tutorial on How install the rpmfusion nvidia drivers in Fedora 13Here's the tutorial:Quote:Originally Posted by leigh123linuxF13 Howto for the rpmfusion nvidia drivers This is a Three-Step Process. If you don't follow all three steps, your install will fail!1. Install the nvidia driver. ( if you have 4Gb of RAM or more you will probably have a PAE kernel [32bit only] so follow the PAE part )For GeForce 6, 7, 8, 9, 200 & 300 series cards

Code:
su
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-

[code]...

View 2 Replies View Related

Fedora :: /dev/shm - 224 Mbyte Ramdisk That Is Consuming 224 Mbytes Of System Memory Whether Or Not Use It

Dec 5, 2009

I just noticed this in my "df" output:

[Code]...

There's an entry in /etc/fstab which mounts this automatically. If I interpret that correctly, that's a 224 mbyte ramdisk that is consuming 224 mbytes of system memory whether or not I use it. Is that correct? If so, will anything break if I unmount it and delete it from /etc/fstab? Do programs typically depend on it? I'd like to reclaim the system memory (low DRAM machine) for other uses.

View 5 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

Debian Configuration :: No Longer Allowed To Access The System Configuration

Jul 31, 2011

I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.

View 14 Replies View Related

Fedora :: Where Configuration File To Change Root Logins?

Nov 5, 2009

Can someone tell me where the configuration file is to change root logins?

View 1 Replies View Related

Debian :: External Mounted Harddisk Safely Umount Automatically?

Jun 1, 2010

Debian if I suspend the PC, will the external mounted harddisk safely umount automatically? I want to make sure that the integrity of my external HDD is not compromised while the PC goes in the suspend mode.

View 4 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Debian Configuration :: Only Root Can See Scanner?

Aug 20, 2010

Having successfully installed SANE and gotten a scan from my ancient Mustek scanner, I thought I had it setup. But that was running in the root terminal window. When I try to run xscanimage from GIMP in my normal user account it doesn't start up. Running xscanimage in a normal terminal it says it can't see any scanners. Yes, I added my user account to the scanner group. What else needs to be done to let a normal non-root user access the scanner?

View 4 Replies View Related







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