Ubuntu Installation :: Bad Fstab Will Not Boot
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
ADVERTISEMENT
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
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 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
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
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
Feb 11, 2010
I've just started playing around with a Sheevaplug running a very light version of Ubuntu. I'm planning to run it with an SD card to store all my server data and a USB stick to regularly back up some of it.My problem is that the 2 partitions on my SD card mount fine at boot, but my USB stick's single partition does not. Could it be that the mounts specified in fstab are done before my USB device has finished getting alive? Mounting the USB stick manually works perfectly well.
fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 /media/usb1 ext2 defaults 0 0
/dev/mmcblk0p1 /media/sd1 ext2 defaults 0 0
/dev/mmcblk0p2 /media/sd2 ext2 defaults 0 0
dmesg after boot
Code:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver.....
In the dmesg
Code:
usb-storage: device scan complete
comes after
Code:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
which makes me think the USB stick has missed the fstab train the 2 SD card partitions are on. And changing the order of the entries in fstab does not make any difference either.
I'm not planning to reboot my Sheevaplug every 5 minutes, but I like things to be nice and clean.
View 1 Replies
View Related
May 26, 2010
shut down my RHEL 4 system with an error still present in the /etc/fstab file. Current symptom: When I now try to boot, everything hangs when "Enabling swap space". Highly likely, the reason is the failure to "Mount local filesystems" in the previous step (i.e. "mount point 0 does not exist" = error due to my incorrect line in the /etc/fstab file).Question: Is there any way that I can still boot my system, such that I can remove the incorrect line in the /etc/fstab file?
View 6 Replies
View Related
Jul 18, 2011
I have been trying to work out how to set up Fedora 15 to automatically mount an NFS share at boot time. I can mount the share interactively using 'mount -t nfs server:/usr/local /usr/local'. When I put the entry in /etc/fstab, it stops the machine booting. It tries to give me a shell ('Enter root password for shell or press Control-D to exit') or something close to that. However, I cannot enter the maintenance mode, it hangs. Same thing with pressing control-D, it hangs and doesn't get any further.
I rescued the system by booting off a CD, mounting root, and removing the nfs entry from fstab. After that it booted fine. The entry I had in the fstab is: nfsserver:usr/local /usr/localnfsro,hard,bg,intr,comment=systemd.automount0 0
I put the 'comment=systemd.automount' entry in because of some related searches I did in forums.
View 14 Replies
View Related
Jul 21, 2011
I have a bad entry in /etc/fstab I have tried to tried to change in boot but it says read only. It will not take su. I have a livecd but I can't seem to get to my filesystem from a terminal where I can specify su
View 2 Replies
View Related
Dec 15, 2009
I have an external hard drive that I use with my laptop and I want it to be mounted at boot. I used YaST to do this by using the Partitioner. I selected the volume, then edited then chose to have the partition mounted at boot.
On next book the computer booted up and mounted the device as I expected but the boot up process took a long time. When I would usually get the desktop I got only a black screen for about one minute, the the desktop finally loads. I tried to reboot a number of times but I still get the same delay.
When I go back and choose to have the hard drive not auto mount and then reboot there is no delay in loading the desktop. So it seems like mounting this device is delaying the loading of my desktop on boot somehow.
Below is the line that is added to my fstab file to auto mount the drive:
View 9 Replies
View Related
Jan 19, 2010
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
View 9 Replies
View Related
Jan 16, 2011
I have the following two lines at the bottom of my /etc/fstab
Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.
If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console
So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution
View 3 Replies
View Related
Jun 8, 2010
1. I accidentally removing /etc/fstab
2. reboot
3. It enter gdm/runlevel 5 though several warning complaining missing /etc/fstab (i can post the boot.log if it is needed)
4. I "touch /etc/fstab"
5. reboot (and cannot pass run level 2)
I can enter run level 1, but when after that if I "init 2" it is halted. Most of the boot message (after i create empty fstab with touch) is complaining about read only filesystem.
ps note:
1. I use LVM
2. I don't have access to a live cd until saturday
3. /etc/mtab is empty as well when i checked it in run level 1
View 4 Replies
View Related
Jul 13, 2009
I have already started a thred here about RAID failure: RAID5 failed, system drops into limited single mode - openSUSE Forums
I was not able to boot the system until I commented /dev/md0 in fstab
Why is it so?
This is just a files sharing partition, it is not a system partition.
Is there any option to always ignore any errors and continue boot?
View 5 Replies
View Related
Jul 9, 2011
I succeed in uTorrent server's install as a daemon in Opensuse 11.4 and it works great. I've already change my fstab file to add a network drive to be mount on startup localize in /mnt/freebox/. This is also working great. The issue is during the startup, utorrent starts before fstab and thus the network drive is unmount.
In my utorrent init.d daemon script, I ask for $Network starts in first time: Code: Required-Start: $network Is there any possibilities to order the startup and ask to fstab to start before uTorrent Daemon?
View 4 Replies
View Related
Apr 29, 2010
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
View 9 Replies
View Related