I installed ubuntu 12.04 in an Asus 8gbram i7 sharing drive with windows 7.   tried many options as setnomode, ro, ro quiet, deleting msdos6 and replacing it with6 at set root=(hd0,6) was appearing as set root=(hd0,msdos6) at booting time and get crazy try many combinations  I realized that the problem is that even the same options get sometimes to boot,  sometimes to a purple screen  and sometimes to a smtp message and gets freezed there.  in my bios i have uefi disabled as it was by default in this machine.  dmesg for error just this line when im able to boot:  EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro   Also Im quite suprised as i was expecting the installation to go smooth and suddenly menu.lst is deprecated and my knowledge is old.  Anyone facing/faced similar behaviour?   found this answer  and solved the problem, just turn of vt-d from the BIOS
123883
The laptop is dual booting with windows 7 and ubuntu 11.10.  For 11.10 to boot, I had to add 'nolapic' in GRUB boot options.  I downloaded 12.04LTS LiveCD yesterday and made a CD and a bootable USB stick.  With both USB and LiveCD, occasionally I can boot into 12.04.  But many times, the boot process stuck at some point.  For USB boot, sometime it works.  But other times, it seems to stuck right after seeing the message:  NMI watchdog enabled. takes one hw-pmu counted [0.408590] #2   The number in [] changes.  Some times it stuck at #2, and sometimes at #3.  For LiveCD boot, sometime it works.  But when it stuck, it stuck at different places.  At times, the boot process go directly to a blank screen with a blink '_' at up left corner.  Sometime it went a bit further, after showing options to try/install ubuntu then stuck with a blank screen with blink '_'.  Anything I can do to get around of this?
58686
Why do I need these? I have installed Ubuntu under a non UEFI (master boot record) and have installed Ubuntu with no 'biosgrub' and it works fine, whereas other times I am asked to make a 'biosgrub' partition.  I have no idea why sometimes I need it and others I don't (these have both been on the same system).  And the same thing happens when I use UEFI (GUID Partition Table).  The only difference is I am asked to make a 'EFI boot partition', but as with the 'biosgrub', sometimes I am asked to make it and sometimes I am not asked to make it.  For my current install I was asked to make one but I didn't and my system is fine. There is no change in the system, same hardware, BIOS etc... Could anyone shed light on this?
62191
This keep happening when I install the Ubuntu as a dual boot for my laptop. I get a black that appears when booting with the following messages.  Minimal BASH-like line editing is supported.    For the first word, TAB lists possible command completions.  Anywhere else TAB lists possible device or file completions.     grub&gt;   grub&gt;   grub&gt;   grub&gt;   grub&gt;   grub&gt;   grub&gt;   grub&gt;   grub&gt;    I have to enter these commands like this:  grub&gt; set prefix=(hd0,msdos6)/boot/grub/  grub&gt; insmod normal  grub&gt; normal   And the GRUB menu appears. How to make my GRUB menu appear without having to type those command at my GRUB prompts?  I tried sudo grub-install and it give me this error message.    I tried to check if i have chosen the right disk, which come two possibilities, /dev/sda1 and /dev/sda6, but neither of these two works, and they gave the same error message.  /dev/sda1/    /dev/sda6
95981
I am trying to install Ubuntu on to a clean system and use XFS for the system partition. However it seems that my UEFI system does not like XFS.  When installing I select 'something else' and manually partition the disk. As part of troubleshooting as have put the partitions back to the bear minimum of a single ESP partition and a system partition. When I choose EXT4 for the system partition the system installs and then boots successfully. When I do everything exactly the same, but change the system partition to use XFS the system installs but when it reboots I am presented with the grub prompt. When listing disks (ls (hd0,gpt2)) the XFS partition is seen as unknown and unreadable.  What am I doing wrong and how can I install Ubuntu using XFS as the format for the system disk?
19813
Accidental BIOS mode install  I have Intel 64-bit hardware with UEFI setup utility. Ubuntu 14.04.1 LTS was  installed as the only operating system on the only drive attached. Accidentally Ubuntu was installed in BIOS/CSM/legacy mode.  Convert to UEFI  While later on learning about UEFI, the goal is to change this existing Ubuntu installation to (quicker) boot via EFI/UEFI. I do still want to have some kind of - 2 seconds displayed - boot menu that allows me to enter the UEFI setup utility. Therefore I think I do need use Grub (can't use an EFI boot stub) and . I have already re-partitioned the drive using a Live CD and inserted a 200 MiB EFI partition in the beginning of the drive and marked that fat16 formatted partition as type id 0xEF.  Before:  # fdisk -l /dev/sda ...    Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   108478463    54238208   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris   After:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *      411648   108478463    54033408   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda3            2048      411647      204800   ef  EFI (FAT-12/16/32) /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris  Partition table entries are not in disk order   No boot-repair please  The Ubuntu community wiki suggests to use boot-repair to . I don't want to use a GUI, or install any extra packages, and I don't want any data being accidentally sent to pastebin.com and because I do want to know what will be changed exactly, I don't want to use .  Under the hood  Trying to figure out what boot-repair actually does, I found this snippet:     Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi, if gpt partitioned.   source:   UEFI mode install comparison  A clean Ubuntu 14.04.1 installation in UEFI mode creates a 512 MiB Fat32 formatted EFI partition. That partition contains one directory /EFI/ubuntu, containing 4 files: grub.cfg, grubx64.efi, MokManager.efi and shimx64.efi. The grub.cfg contains:  search.fs_uuid 7d843e47-3917-4114-8725-55dfa1fbe002 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg   Search.fs_uuid points to the UUID of the Linux installation partition, in this comparison UEFI installation Linux is installed partition /dev/sda2 (versus sda1 in BIOS mode installation).   No potential Asrock firmware issues found  Having CSM still disabled in firmware and using the clean UEFI mode Ubuntu installation. Resizing the 512 MiB EFI partition to 200 MiB using a Live CD and gparted results in that its formatting changes from FAT32 to FAT16. The Asrock firmware P1.50 (incorrectly called BIOS by AMI in boot message "BIOS date") is still able to boot into UEFI mode Ubuntu: UEFI+FAT16 = ok. (msdos) using the same Live CD terminal command gdisk and its commands r g p w also results in a UEFI bootable Ubuntu on an MBR partitioned drive: UEFI+MBR = ok.   Question  Does this mean that the only commands I do need to execute - from the legacy Ubuntu install and in this order - are:  # apt-get install grub-efi # apt-get remove grub-pc   ? Or is more needed to be done?
103539
I recently purchased an ASUS N56VZ-ES71 laptop which came with Windows 7 Home Premium installed on it. I wish to dual boot Windows 7 and Ubuntu 12.04 on it. I shrank the hard drive partitions to leave about 150 GB unallocated for Ubuntu 12.04. When I boot the Live CD of Ubuntu and attempt to install, the installer does not recognize any other operating systems. Through reading a few questions, I have found that this is due to a GPT partitioning table that Windows uses.  I ran boot-repair as per other threads' suggestions. This was my output:   I suppose my question is: how do I proceed in order to get the installer to recognize Windows, so that I don't have to erase the current partition table and can get a safe install?  Thanks in advance.
22989
I have a laptop with Ubuntu installed as the only OS. I also have a USB stick with a Windows 7 installation on it. I want to install Windows from the USB stick on my laptop but when I try to restart the laptop to get access to BIOS, I can't seem to find the command for it, its like it skips everything and just says Ubuntu and then takes me to the login screen.  How do I change the boot priority to USB in Ubuntu?
56932
I have installed Ubuntu 12.10 in a Western Digital external hard drive (320GB). This is a complete installation, not a live USB.  When I plug it in my HP desktop I go to the BIOS settings and boot off the hard drive, everything work perfectly as it should. Now this works on every single computer and laptop in my house (all HP), except for ONE. My HP ProBook 4530s.  When I select to boot of the USB I get the message:  error: attempt to read or write outside of disk 'hd0'   Now, I have removed the hard drive from my laptop and the external drive is the ONLY drive plugged in. Below is a screenshot of the message on the screen. After the message I navigate to ls / (as shown below):    After here I try to acces other folders under ls /, for example, I try to go to ls /boot to get to the grub folder. Then I get the same message as before: as shown below:    grub rescue&gt; ls /boot  error: attempt to read or write outside of disk 'hd0' grub rescue&gt; _   The only folders I can access without getting the message again are /home, /run and /usr.   So how do I:   Boot Ubuntu from GRUB2 (this screen) manually Set to automatically boot Ubuntu If possible an explanation for this problem   Thanks!
63072
I'm trying to replace Win8 with Ubuntu on a new Lenovo IdeaPad S10  with 4gb mem,500gb h/d.  Drilling down, I disable "Secure Boot" on the bios boot tab, but the  only 2 options under UEFI Boot priority order are Windows Boot Mgr  and EFI Network.  No "Boot from USB" option.  Someone here kindly suggested a link which reported they got added options by changing  "Secure Boot Mode" under the "Security" tab to "Legacy" but on my PC,  that option isn't selectable, ie, the selection cursor just bypasses  that selection. The only 2 selectable options are "Reset to Setup Mode"  and "Restore Factory Keys".  Anyone know who/where the usual suspects are hiding? How to flush them out?
13638
I have Ubuntu 12.04 installed like an app on windows 8.1 (Ubuntu 12.04 allow to be installed like an app in Windows 8.1 and it can be removed when you don't need it any more from Control Panel). Usually, to chose what os to boot when you start the laptop, you can choose between windows 8.1 and Ubuntu after windows logo appeared at start up and that was ok until I made this upgrade. Now when I try to choose Ubuntu the laptop try to boot it but, after that full colored screen is showed the screen go black and this messages appear:  mount: mounting /dev/loop0/ on /root failed : Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn' t have requested /sbin/init No init found. Try passing init = bootarg.  BusyBox v1.21.1 (Ubuntu 1:1:21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands  (initramfs) _   I don' t know what to do after this screen appears. Please help !
5540
I get this error:  Error: unknown filesystem. grub rescue&gt;   I'm not exactly sure what I did. I believe I installed Ubuntu over Windows on my Acer netbook. I then tried to install , but it wouldn't start installing.  I turned the netbook off and back on. Now I get the error.  I have read a lot of other questions like this, but in my case I cannot boot a CD. If I put a Ubuntu CD or a Linux Mint CD into my external CD/DVD drive and change my BIOS to boot the CD-ROM first, it just gives me the same error screen.  Update copied from comment dated 2012-05-26 02:54:29Z  Here are some results from my commands:   grub rescue&gt;ls (hd0) (hd0,msdos5) (hd0,msdos1)  grub rescue&gt;ls (hd0,msdos5) unknown filesystem  grub rescue&gt;ls (hd0,msdos1) unknown filesystem  grub rescue&gt;ls (hd0) unknown filesystem
59052
I just re-built my desktop. I have a brand new 2TB drive and I'm also re-using a 250GB drive with Windows XP installed. The problem is that the XP drive has a virus that was causing the computer (before the re-build) to reboot swiftly and unexpectedly after Windows starts.  I have yet to turn on my re-built computer!  I am currently not worried about losing the data on the XP drive. My desired end-result would be a re-image of XP on the 250GB drive and to install Ubuntu 12.04 on the new 2TB drive.   What order should I do things in order to get to that point? I need to (in some order):   See that my new setup can POST Configure the new hardware Re-image the 250GB drive with Windows XP Install Ubuntu 12.04 on the 2TB drive   ... without having the virus cause any more problems. Understanding the reasoning behind the process would be very helpful.  Thanks!
43428
today I installed Ubuntu 64-bit on a netbook. When the netbook boots this, error report appeared. I think there is a problem with the partitions.  Gave up waiting for root device. Common problems:   — Boot args (cat /proc/cmdline)     — Check rootdelay= (did the system wait long enough?)     — Check root= (did the system wait for the right device?)   — Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/ubuntu--vg-root does not exist. Dropping to a shell!   BusyBox v.1.21.1 (Ubuntu 1:1.21.1-1ubuntu1) built-in shell (ash)    Enter 'help' for list of built-in commands.    (initramfs)   Output of lsblk as requested:  $ lsblk NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 232.9G  0 disk  ├─sda1   8:1    0   231G  0 part  ├─sda2   8:2    0     1K  0 part  └─sda5   8:5    0     2G  0 part [SWAP] sr0     11:0    1   1.2G  0 rom  /cdrom loop0    7:0    0   1.1G  1 loop /rofs
86542
My Ubuntu stalled while running Android's VirtualBox version, so I powered off the system. But after reset it stopped during this line:     Stopping User Manager for UID 121... _ So i googled it and have read  question and tried these steps:  Boot into Recovery Mode, drop to a root shell, and follow the steps below:   Run mount -o rw,remount / to mount the drive in Read-Write mode.Run sudo apt-get purge nvidia-* to purge the NVIDIA driver.You may also need to purge xserver-xorg and reinstall it, which will  require you to enable networking in Recovery.Reboot. You may have to add the nouveau.modeset=0 flag in GRUB to boot properly (Check my Q&amp;A for specifics).   You should be past the screen flicker and be at your desktop.  But in doing this step:  Now reinstall the NVIDIA drivers the proper way:sudo apt-get install  nvidia-367 (or 340, 352, 364, 370, whichever works).Reboot again.  I found i have not internet, and my WiFi is not in ifconfig list!!! By running :     Iw wlp2s0 scan   I get :  N180211 not found I also search for it and not understand why WiFi gone off. Now i thinking to use live USB of ubuntu to download NVIDIA and xserver-xorg and the install the by dpkg command during tty2. Update : in Ubuntu live i have this settings :  ubuntu@ubuntu:~$ sudo lshw -c video   *-display                         description: VGA compatible controller        product: HD Graphics 620        vendor: Intel Corporation        physical id: 2        bus info: pci@0000:00:02.0        version: 02        width: 64 bits        clock: 33MHz        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom        configuration: driver=i915 latency=0        resources: irq:129 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:6000(size=64) memory:c0000-dffff   *-display        description: 3D controller        product: GM108M [GeForce 920MX]        vendor: NVIDIA Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: a2        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: driver=nouveau latency=0        resources: irq:128 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:3000(size=128)  and ubuntu@ubuntu:~$ sudo lshw -c display   *-display                         description: VGA compatible controller        product: HD Graphics 620        vendor: Intel Corporation        physical id: 2        bus info: pci@0000:00:02.0        version: 02        width: 64 bits        clock: 33MHz        capabilities: pciexpress msi pm vga_controller bus_master cap_list rom        configuration: driver=i915 latency=0        resources: irq:129 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:6000(size=64) memory:c0000-dffff   *-display        description: 3D controller        product: GM108M [GeForce 920MX]        vendor: NVIDIA Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: a2        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: driver=nouveau latency=0        resources: irq:128 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:3000(size=128)  and : ubuntu@ubuntu:~$  cat /etc/os-release NAME=&quot;Ubuntu&quot; VERSION=&quot;18.04.3 LTS (Bionic Beaver)&quot; ID=ubuntu ID_LIKE=debian PRETTY_NAME=&quot;Ubuntu 18.04.3 LTS&quot; VERSION_ID=&quot;18.04&quot; HOME_URL=&quot;https://www.ubuntu.com/&quot; SUPPORT_URL=&quot;https://help.ubuntu.com/&quot; BUG_REPORT_URL=&quot;https://bugs.launchpad.net/ubuntu/&quot; PRIVACY_POLICY_URL=&quot;https://www.ubuntu.com/legal/terms-and-policies/privacy-policy&quot; VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic  please consider the above three output has token form Ubuntu live flash system. What do you suggest and what do you think about reason of this failure? Also do you think it must be reported by me in ubuntu site, or it will be done automatically? Thanks.
73980
This is NOT an installation problem question. I've had both op sys working fine side-by-side for a couple of weeks now. I'm using Ubunutu 12.04 64-bit.  This morning when I tried to switch from Win8 to Ubuntu, it just rebooted into Win8. No grub screen whatsoever. This is the 3rd machine I've had dual-booting &amp; have never seen this, but then Win8 is a 1st for me &amp; has thrown some pretty awesome blocks in the path to get to here. Atrocious op sys...  I'm assuming the ASUS updater did this yesterday. (ASUS R503U)  So, do I just put the Ubuntu disk in &amp; reinstall grub?
95448
I am not exactly new to Linux, but I am facing problems trying to install Ubuntu 14.04 LTS on my Dell Inspiron 14z pre-installed Windows 8 with Secure Boot nand UEFI mode. **I have followed all the prescribed steps of your post regarding Ubuntu installation one of this forum's post  **.  I am able to boot to LiveUSB mode via UEFI mode. But when going through the installation process, partitions don't appear at all on the 4th slide of the install process. So I just press "Install" just to see what happens. There is a pop-up window which says "No root file system defined. Please correct this from the partitioning menu."  I have created three partitions on Windows 8 of which one is entirely free(100 GB) and formatted and ready to be installed on. Please help me resolve this issue. Thanks and cheers
92949
This question is asked often in Ask Ubuntu, sometimes with few hints about the situation. There are many reasons a persistent USB might not boot BIOS  USB not set as first hard drive in BIOS  Problems with BIOS or UEFI boot partitions or files.  Secure Boot not turned off  Drive not compatible with computers BIOS or UEFI boot mode  Incorrect partition table  Out of date BIOS/UEFI firmware  Junk in volatile memory   GRUB  Incorrect root partition in grub  Incorrect path to ISO in grub  Incorrect persistent-path, (if used), in grub  Grub menuentry structure not suiting OS  Incorrect file type for vmlinuz and initrd (.efi and .lz)  The word &quot;persistent missing from grub.cfg, txt.cfg, syslinux.cfg or text.cfg   PERSISTENCE (CASPER-RW &amp; HOME-RW)  Persistence partition is not ext file system  Persistence file not on FAT filesystem  Persistence file/partition reused from different version  Persistence file full of data, or file update attempted   HARDWARE  Corrupted flash drive  Bad flash drive  Not enough RAM to run Ubuntu  Bad or incorrect USB socket  Incompatible computer CPU  Incompatible computer GPU  Computer does not meet minimum specs, lighter version of 'Buntu required  Motherboard voltage irregularities  Motherboard BIOS limitation with multiple USB devices  Computer does not boot USB's. Plop boot manager required.   SOFTWARE  Bad MD5SUM / Corrupt ISO file  Modified or corrupted ISO9660 partition  USB removed from computer before ISO file is completely copied  Out of date Boot drive creation tool  User inexperienced with boot procedure   Please let me know of any reasons I have missed. An up-vote for any currently valid original reason not on the list, A green check for best original list additions