Ubuntu :: Trying To Add RAM Disk But Fstab Fails To Boot
May 26, 2010
I was able to successfully create a small, fixed-size "ram disk" just for kicks, via:
Code:
sudo mkfs -t ext3 -q /dev/ram1 65536
sudo mkdir -p /media/ramdisk
sudo mount /dev/ram1 /media/ramdisk -o defaults,rw
However, I wanted it to auto-boot, so I added the line to fstab:
Code:
/dev/ram1 /media/ramdisk ext3 defaults 0 0
This, however, rendered Ubuntu unbootable and I had to repair the fstab by removing the line via a Live CD. I had enough patience to boot through the CD an extra time to see if just deleting "ext3" would work, but it did not. What would cause this to make the system unbootable and how I could make it work?
View 5 Replies
ADVERTISEMENT
Mar 15, 2011
One entry I have put in fstab results in the failure of a partition to be mounted at boot time. I get the message:
Code: The disk drive for /media/WinXP is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery If I choose M and enter the command: Code:mount -t ntfs /dev/sdb1 /media/WinXP then I get no error message, but the partition still doesn't seem to be mounted, when boot completes.
I don't understand this failure. I have created my fstab file using UUIDs to boot Ubuntu on my dual boot machine. It works fine, booting from the hard-disk which is Master on my Secondary IDE channel. For Ubuntu booting the MBR and grub menu are on this disk. The default is to boot Ubuntu , but with an option to select Windows Xp.
As an aside, I can set an option in my BIOS to make the Master disk on the Primary IDE channel the first disk, rather than the second disk. Then the system boots from the MBR on this Primary IDE channel and boots only to WinXP. That works fine.
When running Ubuntu I use space on the Windows disk (on the Primary IDE channel) to hold backups of key Ubuntu files in case I loose Ubuntu - as I did for the past few days. So, to mount this partition I inserted this line into my fstab:
Code:
UUID=0e4851c44851ab6b/media/WinXPntfsnosuid, nodev, allow_other00 I know the UUID is correct because I have checked it with blkid. But the partition is not mounted at boot time. I don't even get an icon for the partition on my desk top. It appears in the 'places' menu, as unmounted, but mounts as soon as I click on it. However, this causes some of my linux apps, which want to load and save to this partition, to post an error message until I have manually mounted it via clicking on it in the Places menu. I want to avoid this manual step by having the partition automatically loaded at boot time. What am I doing wrong?
View 9 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jun 28, 2010
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
View 9 Replies
View Related
Jul 18, 2010
I've installed Ubuntu Server V9.10 (64-bit) on a brand new server I built with no previous OS installed. The drives are two Hitachi 1 Tbyte hdd's configured as RAID1, an ASUS M4A78T-E motherboard with an AMD Phenom-II cpu with 8 Gbyte of memory. I updated the bios following building the computer. The Ubuntu 9.10 server installation appears to go without error. However, on reboot I get the message:
Grub loading
error: no such disk
grub rescue
I suspect the MBR is missing or Linux is not pointing to the correct drive in the grub.cfg.I've made sure the boot order is correct, but other than that I don't really know the commands or syntax to troubleshoot this problem. The only CD I have is the Ubuntu 9.10 server ISO I downloaded and burned to dvd.
View 1 Replies
View Related
Feb 1, 2010
I've installed Ubuntu Server V9.10 (64-bit) on a brand new server I built with no previous OS installed. The drives are two Hitachi 1 Tbyte hdd's configured as RAID1, an ASUS M4A78T-E motherboard with an AMD Phenom-II cpu with 8 Gbyte of memory. I updated the bios following building the computer.
The Ubuntu 9.10 server installation appears to go without error. However, on reboot I get the message:
Grub loading
error: no such disk
grub rescue
I suspect the MBR is missing or Linux is not pointing to the correct drive in the grub.cfg.
I'm a noob to Linux. I've made sure the boot order is correct, but other than that I don't really know the commands or syntax to troubleshoot this problem.
The only CD I have is the Ubuntu 9.10 server ISO I downloaded and burned to dvd.
View 1 Replies
View Related
Dec 27, 2010
Downloaded Ubuntu 10.04.1 Desktop AMD64, tried to install it to a cleand HDD using the whole HDD, i.e. gave it permission to use the whole HDD. Installation process appeared to run OK but when it came to the restart it just fired up the message
error: out of disk
grub rescue>
I've searched this forum and found numerous references to these error messages but cannot make head nor tail of the diagnostic suggestions. Apart from anything else they suggest strings of command lines which I don't understand and can't enter anyway since they don't correspond to my keyboard layout (if I hit > or ) something completely different appears on the screen). Is there someone here who can provide a step-by-step solution in lay language? Or is there such a thing as a bootable file which can be downloaded and inserted into my CD drive to correct this problem?
View 9 Replies
View Related
Jul 13, 2011
Downloaded Ubuntu 10.04.1 Desktop AMD64, tried to install it to a cleand HDD using the whole HDD, i.e. gave it permission to use the whole HDD. Installation process appeared to run OK but when it came to the restart it just fired up the message
error: out of disk
grub rescue>
I've searched this forum and found numerous references to these error messages but cannot make head nor tail of the diagnostic suggestions. Apart from anything else they suggest strings of command lines which I don't understand and can't enter anyway since they don't correspond to my keyboard layout (if I hit > or ) something completely different appears on the screen). Is there someone here who can provide a step-by-step solution in lay language ? Or is there such a thing as a bootable file which can be downloaded and inserted into my CD drive to correct this problem ?
View 3 Replies
View Related
Apr 13, 2010
I want to use Access Control Lists (ACLs) on a removable usb hard drive. I don't know how to set up /etc/fstab for usb drives. Every time I try to make an fstab entry for the usb drive I get an error, when I plug in the usb drive and the system tries to automatically mount it. The drive isn't mounted. If I delete the fstab entry for the usb drive, the drive automatically mounts with no problem. However, ACLs are not enabled, because no fstab entry exists to enable ACLs.
The error message states that "only root can mount the drive". However, as far as I can tell, automatic usb mounting is being done by root. When I plug in the drive (with no fstab entry) and it automatically mounts, Nautilus Properties shows the drive is owned by root and has permissions of rwxr-xrwx.
View 1 Replies
View Related
Dec 2, 2009
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
[Code]....
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
View 2 Replies
View Related
May 18, 2011
ASUS eeepc900 Easy Peasy 1.6 (Ubuntu 10.04)
After I boot the 16GB second SSD disk is mounted as HOME on /media This seems to be a default. However there is no entry in /etc/fstab to do this. How does it happen?
I want to move my home directories to be on the 16GB disk so I need it to be mounted on /home rather than where it is by default which is /media/HOME
View 3 Replies
View Related
Jul 4, 2010
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
View 2 Replies
View Related
Feb 5, 2010
I am running SUSE 11.1 on a 80Gig IDE HDD, I have added a 160 SATA HDD which I wish to use as storage.
fdisk reports it as /dev/sda1 - W95 fat 32 LBA. What would the fstab entry be to make the disk mount automatically on boot, so that it shows on the desktop ready for use.
View 5 Replies
View Related
Nov 1, 2010
Forgive the terseness. I'm frazzled with this issue, perhaps I should have asked earlier. Every weekend for the past 2 months has been an endless cycle of 'repair broken system' off the install disk.
Installed from Ubuntu server 10.04LTS x86_64, + xfce-desktop Here is uname -a Linux ournas 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux If I add my raid + lvm to the fstab file, the boot stalls, (no error it, just hangs waiting, forever). So that's a not very user friendly to start with.
I've tried the suggestions about UUID in fstab tried using LABEL instead, or even /dev/xxx. Every time it hangs. I've googled this endlessly and not found a solution. So don't ask why... since I seem to have tried every odd suggestion to fix this, I've lost track. There seems to be some consensus that whoever gave us plymouth laid an egg. Forgive me if I'm wrong, but did we need a better graphical boot if it breaks everything else?
[Code]...
View 3 Replies
View Related
Apr 23, 2010
I have an external hdd that I have added to the fstab so it will mount when I boot. But every time I add the line to fstab and reboot, it hangs during the boot process and says something about ureadahead-other status 4. here is my line in fstab..
/dev/sdc1 /NAS ext3 defaults 0 0
Is there anything wrong with that? I couldn't remember what fs I chose when I formatted it so I did "sudo parted /dev/sdc print" and it said it was ext3.
View 2 Replies
View Related
May 5, 2010
I'm puzzled as to why this fstab isn't working:
Code:
# /etc/fstab: static file system information.
#
[code]...
View 3 Replies
View Related
Sep 2, 2010
I made a mistake in my fstab. I know what the problem is and how the fstab needs to be changed. However, since the system will not boot I'm having diffeculty getting in to edit it.The system is running Ubuntu 10.4 64 Bit with LVM2.I have both 10.4 64Bit Server and 10.4 32Bit Desktop cds currently and could burn others if needed. With 32Bit Desktop I'm able to get to a live cd prompt but my hard disks are not mounted.if I try mounting /dev/sda5 to a dummy directory I created it tells me it doesn't know the type of 'LVM2_member'.
View 5 Replies
View Related
Jan 15, 2010
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
View 4 Replies
View Related
Sep 1, 2010
[URL] and instead of a fat32 I added a ntfs 2 tb hd to my computer. But it doesnt like it, so now when I boot I get
init: ureadahead-other main process (1234) terminated with status 4
I searched and people are mentioning logging into the terminal and what not, but I cant get to a terminal so that kind of silly. People also talking about updating their video cards for this issue, which also is not my problem.
View 4 Replies
View Related
Dec 29, 2010
No Boot started w/auto check of drives and it failed on my Virtual C: drive. I know,... but I edited /etc/fstab and now I have nothing available to get a command line. I have grub2 and don't know how or can't get to a boot menu either. Is this a reinstall?
View 9 Replies
View Related
Jan 6, 2010
I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell
View 9 Replies
View Related
May 11, 2010
I recently formatted my HDD and installed Ubuntu Server 10.04 x64. This is actually the 4th install in the past week because I was testing some things. But I had this problem on at least the previous install which made me want to start fresh again. The problem I'm having is Ubuntu will not boot if I add any of my drives to fstab. If I leave it with the standard proc, /, and swap lines it works fine. As soon as I add a line for one of my RAID arrays or an NTFS formatted partition the system hangs on bootup. It doesn't matter if I have the extra drives operating or not.
The last thing I see before it hangs is:
Code:
/dev/sda1: clean, 69351/4358144 files, 583945/17401600 blocks
Here is what the fstab currently looks like:
Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=c62ac627-46a6-4fd5-87e8-4ae0d9185d53 / ext4 errors=remount-ro 0 1
UUID=c1cee1e4-f8ac-4555-a88b-f237afdedd27 none swap sw 0 0
/dev/md0 /mnt/raid5 ext4 defaults 0 0
The other two lines which also made it hang included one which was almost exactly the same as the /dev/md0 line except it was md1 with a different mount point and another which used a UUID and was ntfs-3g. I know they work because all 3 of them were mounted by "mount -a" after putting them into fstab and they're pretty much the same as what I was using with 9.04 server.
View 3 Replies
View Related
Jul 29, 2010
I'm trying to add a line to fstab to mount a share on every boot. I can mount the share manually using
sudo mount -t nfs 192.168.2.1:/x_machine /mnt/test
I've added the line
192.168.2.1:/x_machine /mnt/test nfs rw,hard,intr 0 0
to my /etc/fstab file, but it doesn't seem to mount on boot. What am I missing. I tried looking in the log files for an error, but couldn't find anything. Ubuntu 10.04 x64 desktop edition.
View 7 Replies
View Related
May 16, 2011
I have ntfs partition installed bran new ubuntu system. I have some problem with unrar utf8 character zip files.Then i change my fstab file that uses files in D:ubuntudisks oot.disk and i added with out no fearless Code: ,utf8 and after all now i can't boot my linux system it does not allow me to change anything in fstab file. Although i use as a prefix sudo or as a root "sudo -i" commands I dont have any right to change it.
View 6 Replies
View Related
Oct 2, 2009
I really need some help here, this is driving me mad. I edited my fstab file to boot a partition on start up, only instead of typing sda7 I typed sda1 by mistake and now can't boot.
The problem that is driving me mad is I cannot save changes to fstab from a live cd because I do not have root permissions.
I am relatively new to Linux and have no idea how to use the fedora install disk or the commands to use or if it will let me save changes to the file.
I cannot believe something so easy to fix does not appear to be possible because i can't save changes to the fstab on my fedora install.
View 3 Replies
View Related
Oct 2, 2010
I've edited /etc/fstab to auto-mount two partitions on a new disk drive that have been formatted as ext3, by appending the following two lines:
/dev/sdb1 /bak1 ext3 defaults 1 1
/dev/sdb2 /bak2 ext3 defaults 1 1
On reboot, the system complains there is some problem (I can't advise what the problem is, because the display scrolls up too fast to read!), and I'm left with a root command prompt.
Its a /etc/fstab problem, presumably. I've used vi to edit /etc/fstab to remove the two lines mentioned above, but on quit and save, I'm told I have a read-only file system!
1. How can I mount a read-write file system so I can edit /etc/fstab?
2. What's wrong with my two new entries in /etc/fstab? After formatting /dev/sdb1 and /dev/sdb2, I checked the they were mountable with # mount /dev/sdbn /bakn (n = 1, 2) before editing fstab.
View 9 Replies
View Related
Sep 24, 2010
I have a removable SATA Mobilerack which i use to play with.It has redhat linux loaded on a 500GB disk and i made a new partition using fdisk and then made an ext3 filesystem with mkfs. I then tried to edit fstab to add the new partition but have obviously stuffed it up. When I tried to reboot I get the error fsck ext3: UNABLE TO RESOLVE `LABEL=/mnt'.
View 3 Replies
View Related
May 18, 2010
I have a usb-hdd at one location that I use for backup purposes.It is listed (by its specific label, not uuid because I don't want to go through the hassle of changing this when changing backup drives or adding one at a different location.Now, since upgrading from 9.10 to 10.04, I get the following message during boot when the usb-hdd is not present and thus not attached:The disk drive for "/media/backup" is not ready yet or not presentI need to press S to skip mounting manually, whereas 9.10 just ignored that fstab entry and continued booting. How can I get the old behavior back? Is there an option I can give in fstab that mounts the drive at bootup when present and ignores it when not?
Perhaps an even better solution would be to let the drive be mounted according to the fstab entry whenever it is attached (be it at bootup or at any other moment): is this possible?elated to that: are drives unmounted/mounted in a suspend/resume cycle?
View 2 Replies
View Related
Aug 19, 2010
ubuntu 9.10. Won't boot. Not a new installation, no new hardware. When I boot it up into 2.5.31-22-generic safemode it says: One or more of the mounts listed in etc/fstab cannot yet be mounted: /home: wating for UUID...
Booted up w/ live CD, fsck says that /dev/sda3 is clean I have a 320 GB hard drive, 20 GB is the linux boot, 2 GB is swap, and the rest is /home. Palimpset Disk Utility can recognize the 20 & swap, but says the rest is unrecognized.
View 1 Replies
View Related
Aug 29, 2010
Due to my script error my boot/grub/menu.lst and etc/fstab files are ruined without being backed up first.
Anyone, the boot/grub/menu.lst and etc/fstab file of Ubuntu 10 LTS installed by default on HD (or whatever).
View 22 Replies
View Related