Using a M2N32-SLIDeluxe MOBO, both OS crash trying to start. It says that the timeout trying to boot from my sata device was reached.It seems that is a problem trying to boot/mount the HD by uuid, because all the other systems that does not use grub2 has problems.
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
For reasons long and unique, I want to disable UUID in my recent Ubuntu 10.4 install, and use the old fashioned /dev/sda1 /dev/sdb3 etc. method. I had this "all fixed" under GRUB (pre-2) on Ubuntu 8.04 and it has served well and bug free for years. (Warning: I use old stable hardware - others may have disasters.) But with GRUB2, the task seems more complicated. (This guide me make the backups I haven't done since the fresh install 2 weeks ago.)
Is the following process complete, necessary, and accurate... Edit the file /etc/default/grub to remove the # in the line... #GRUB_DISABLE_LINUX_UUID="true" ... making sure to add the two " if missing .....
Copy nearly the entire /boot/grub/grub.cfg file into /etc/grub.d/40_custom and then... Comment out every line that says... search --no-floppy --fs-uuid --set (etc.)
Change every line that says... linux /boot/vmlinuz-2.x.yy-zz-generic root=UUID=(etc.) into... linux /boot/vmlinuz-2.x.yy-zz-generic root=/dev/sda1 Edit /etc/fstab and change every instance of UUID=(etc.) to the appropriate drive and partition e.g. /dev/sda1
edit /etc/initramfs-tools/conf.d/resume and change RESUME=UUID=(etc.) into RESUME=/dev/sda1 Run update-grub
Do all the above, every time I do a kernel upgrade. (Is it important to do all the above before or after rebooting for an upgrade?) Am I correct, succinct, and complete in the above process? Any mistakes? Any omissions?
I have a Netbook Remix install on an SD card that won't boot. Grub2 in the recovery mode shows it fails finding the root files by using UUID. It's my first Grub2 install and I'm not sure how to go about debugging it. The machine boots the same version from a USB stick.
So I've a computer with a lot of disks which is running Ubuntu 9.04. The setup is made od a software raid 1 array of 200 MB for use in /boot (md0), then another raid1 array of the remaining space as a unique PV for the LVM2 vg0. This vg0 is split in many lv, for /, /usr .... and swap. A few days back, one of the raid1 disk went wrong. So as the raid is built on 160Gb disks and nobody in my town sells so little disks I bought a couple of 320GB disks. The partitioning was made like the original partitions, except that the second partition is way bigger than it was. I replaced the failed disk in the arrays, and now I've an md0 of 200 MB and an md1 of roughly 150GB as it was previously and all is in sync. This replacement was made using a rescue disk (in order to be sure that the machine was not locking anything...)
So I thought it was fine. But upon reboot on the hard disks, I get a fast GRUB message "error: no such device : <UUID ending in 4ec05>. when I start the first Ubuntu entry I get the same error. So I edit the boot entry, remove the "search --no-floppy --fs-uuid --set <UUID ending in 4ec05> " and boot the damn thing. When booted I ran :
I have a mounting rack in which I try to plug in various HDDs. Now, all of them have vfat. Blkid returns something like:
/dev/sda7: UUID="4B16-F1E8" TYPE="vfat" The UUID looks abnormally short to me. I found no way to obtain a longer, typical UUID, and when I set Yast2 partitioner to mount by UUID, it sees and it successfully uses the short UUID. Yast2 even adds it to /etc/fstab like this: UUID=4B16-F1E8 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 However, this short UUID is useless in /etc/fstab. It doesn't work at boot time and it doesn't work when I try to mount manually. xxxxx:~ # mount /windows/C mount: special device UUID=4B16-F1E8 does not exist. Also, one cannot find these short UUIDs in /dev/disk/by-id/.
For a billion reasons, I really want to mount these FAT32 partitions by UUID. Do I have any way to do it?
I'm having some trouble with one of my system harddisks. It sometimes works without problems, but is not mounted on other occasions. Even when it's mounted, it's working extremely slow and programs using files from it may crash. On other occasions, however, there are no problems at all. If it's not automounted, I may be able to mount it manually but it sometimes shows "UUID not found". If has a lot of SMART errors:
I recently installed windows 7 and of course it got rid of grub2 for me. I tried restoring it but when I try to mount the ubuntu partition (sda3, extended filesystem) I get the error "mount: you must specify the filesystem type"
I get the error - 'You must specify the filesystem type'.I used the syntax on the GRUB2 page:mount /dev/sdb3 /mnt but it returns the above error.Is there additional parameters to the code???
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again. i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c3a81f5
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code: title grub2 find --set-root /boot/grub/core.img kernel /boot/grub/core.img
I have discovered that I have two partitions, on separate hdd's with identical UUID's, and the system switches back and forth erratically on restarts between the two different partitions, giving me the current /home or the /home of two months ago when I did the upgrade.
Something wrong regarding grub2 (on 9.10). Yesterday everything worked fine and has done for several months. I didn't mess with anything yet when I booted from grub today it informed me that my UUID doesn't exist and that it's given up waiting for root device. I should also mention that it no longer does the 3 second count down either (not sure if thats significant). I can boot into my other linux and windows without issue. This only seems to affect all the ubuntu boot option. This is all way beyond me but I've searched around and tried the fix where you add all_generic_ide to the boot command but that didn't work. I also worked out how to check the UUID but the number look alright.
grub.cfg and blkid below: # DO NOT EDIT THIS FILE # It is automatically generated by /usr/sbin/grub-mkconfig using templates from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ### if [ -s /boot/grub/grubenv ]; then have_grubenv=true load_env fi .....
I would get the message that the uuid file does not exist. I've been online looking for fixes since yesterday morning and nothing has helped at all. I've read online that I should run fdisk -l to obtain info to share with others, but that command doesn't work in any command prompt I open. I am running Ubuntu 9.10 with the latest patches and I'm sure you guys know that it runs Grub2 loader...if that helps at all.
After doing the proposed security updates (re)booting stalls with a message like:One or more mounts listed in /etc/fstab cannot be mounted yet /home: waiting for UUID.In the escape shell I can see from /etc/fstab that /home was mounted to /dev/sda6. But when calling blkid this device is missing.Trying to mount /home I get the error:mount: special device UUID=... does not exist.In other threads I have read that the UUID-entry for /home in /etc/fstab has to be corrected. But how do I get the correct UUID? Will making a live-CD, booting from it and then calling blkid give me the UUID for /dev/sda6?
After installing another OS on second drive, UUID for swap on my main system was missing. In other words there is no appropriate symlink in /dev/disk/. I've tried to create it manually, but it dissappears again after rebooting. Temporarily i solved this problem by adding in /etc/fstab direct address to swap device. The question is how to restore UUID for swap partition correctly? Code: sudo blkid /dev/sda6 /dev/sda6: TYPE="swap" /dev/sda6 is swap partition. Also i've tried to use tune2fs:
I moved some win98 drives into my 10.04 server, and would like to add them to my fstab file.Do vfat partitions have uuid's?If yes, how do I get that number?If no, I can use /dev/sdc1, and /dev/sdd1, can I get an idea what the fstab line will look like?Do I need to create the mount points (say, /WindowsCdrive) before the fstab will mount the partition?
my Dad's computer was running quite slow here lately (Running Hardy Heron). I decided to go ahead and run all the software updates, and had it go ahead and update the OS as well. Well, the install went fine, but upon booting, it crashes to busy-box with the dreaded "ALERT! /dev/disk/by-uuid/########## not found error". I found that if I waited for a while, then cd'd to the by-uuid folder, this file eventually showed up. So I figured maybe if I 'exit' from there, it would boot up and find the file. Au Contrair, things get stranger! I end up with a purple screen telling "An Error Occured While Mounting /". Here's what it looks like: This is quite frustrating, I'd like to get it fixed and hopefully save the data he has on there! I remember having the by-uuid error once before after running an update I think, but can't remember how I fixed it! Feels like I just used the 'exit' trick a couple of boots and it was fine??
Fresh install of 9.10. Update all. The update froze at the very end: configuring grub-pc. I let it run like that all night before settling for a reboot while the update manager was still running. (The update also raised the kernel version.) After reboot, I tried the newer kernel [2.6.31-17-generic] at the grub menu and got this error:
Quote:
udevadm trigger is not permitted while udev is unconfigured. udevadm settle is not permitted while udev is unconfigured. svgalib: Cannot open /dev/mem.[code].....
And, cat /proc/modules gives me a long list of modules (too much to retype for now).So my hard drive is there. maybe some errors on the / home partition [sda6] and I can get to the root directory.
Just added a DVD drive to a machine which had no drive before. When I boot I get the error about being unable to find the root drive by its UUID. If I unplug the DVD drive it boots as normal.
I'm guessing the root drive is getting a new name i.e /dev/sda2 instead of sda1 and thus a new UUID. How can I add the drive and fix the UUID issue in grub?
I have a Nook ebook reader and would like it to automatically open a certain application when I plug it in.As standard it just opens a nautilus file browser.I cannot find any settings that will let me associate a drive name/uuid with a certain application and google results came up saturated with how to make bootable USB drives.The only solution I actually found was to make a .autorun script in the root of the drive to start my application, but it still requires user interaction and is not ideal since I would like to implement this across several machines with different users/applications.
I rsync the filesystem where I have my server to another HD. Now, when I try to boot I'm dropped at initramfs with an error. It looks like it's still looking for the root in the previous HD even tough I already changed /etc/fstab. It says it can't find the device with a certain UUID, and that UUID is from the previous HD.
Here's the full details: I'm running Ubuntu server 10.04 It has 2 hard drives. Every night it backups one to another with the command
I moved the HD where I have the backup to another machine and rsynced them with the same command I then changed /etc/fstab in the new machine. I also installed Grub on it When I boot in the new machine I get a error about not finding root. It says that a device is not present. It says the UUID of the device is looking for, and it's the UUID of the first HD.
I thought I only had to change /et/fstab but seems I am wrong.
I was upgrading from 9.10 to 10.04 and now my HDD can't boot at all to the 2.6.34-rc6 kernel, I get dumped to the busybox shell, and when I select the 2.6.30.9 I get "The hard drive for / is not ready or not present."
I can see the drive fine with fdisk -l, /dev/sda1 is my HDD, but when booting something isn't working right. Also, is there a way to make GRUB 2 automatically show the menu so I don't have to hold down the shift key?
I put my two SATA hard drives in a new computer (new mb, cpu, no pci SATA adapter, built-in nVidia graphics), and I thought everything was going well. The Mythbuntu logo came up, but the bar at the bottom did not move. It eventually dropped me out to a (initramfs) prompt.
When I used the recovery mode, this is where it had problems:
[ 4.756000]ata1:SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 5.068000]ata2:SATA link down (SSTatus 0 SControl 300) [ 5.552000]ata3:SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 5.864000]ata4:SATA link down (SSTatus 0 SControl 300)
[Code]....
I had a SATA PCI card in my old computer, would adding that to the new system make it work? Is there someway to update the UUID numbers (I think I have done this before).
I have a UUID file that has grown to 8.4 gigs... and I don't know what to do. Its sucking up all the free space in the partition. I guess I will have to delete the file but I don't know how to do it properly.I suspect this is a backup of all the data I have been moving around between drives recently.