Having trouble installing Arch Linux to USB key
Hello,
I have read the wiki article, but it doesn't answer my question. I am having trouble installing Arch to a USB key (8GB Sandisk Cruzer). I installled GRUB correctly, it booted, but the flash drive was write-protected. In the fstab file, I have the defaults and noatime flags in there. I have never experienced an error like this, and I don't know how to fix it. I have tried to reboot into the Arch CD and mounted the USB, but it just stalls and displays no output. Obviously, if I boot into my USB (you can still boot into it), and do "nano /etc/fstab", it says that I cannot write. In case you were wondering, I am using the root user. Thank you for all your help!
EDIT: I have Syslinux, the kernel parameters is RW. If I run mount -o remount,rw /dev/sda1, it tells me something like:
ata3.00: status: {DRDY ERR}
ata3.00: error: {IDNF}
end_request: I/O error, dev sda, sector 21
Buffer I/o error on device sda1, logical block 0
EXT4-fs error (device sda1): ext4_remount:4665: Abort forced by user
I did NOT hit CTRL+C.
Last edited by aqua123 (2013-09-07 02:01:30)
I'm a nub, and I think I'll piggy back of aqua's post. Perhaps we have the same problem
I have an Asus UX31A with Xubuntu (with grub) currently installed. I created the bootable USB as per the Arch Wiki UEFI bootable usb page. I can boot into the main prompt where you can choose "Arch Linux Iso", "shell v1", "shell v2" and "Default prompt."
Choosing the first option (to get to the the command prompt and begin installing) makes the screen flash once, then just hangs black. Before the flash I think I see three text lines in the upper left corner, but they flash so fast I can't read them.
Choosing either of the shell options presents the error:
"Error loading \EFI\shellx64_v1.efi: Unsupported" (replace "v1" with "v2" for the other option)
Any thoughts?
Similar Messages
-
Installing Arch Linux on USB key: error while booting
Hello,
first of all, I must say I've followed the steps from this article on arch wiki to install archlinux on my USB key: https://wiki.archlinux.org/index.php/In … _a_USB_key
So what I did is to use one of my 2 usb keys to INSTALL linux, and the second one to RUN linux. I used dd to write on the 1st usb, eveything worked fine when booting, then I do install arch on the my second usb following the stept from the link above, everything works until I get this error while booting (at the middle):
Waiting 10 seconds for device /dev/sdc/
Root device '/dev/sdc' doesn't exist. Attempting to create it.
ERROR: Unable to determine major/minor number of root device '/dev/disk/by-uuid/lotsofnumbers'
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
/bin/sh: Can't contact tty; job control turned off
[ramfs /]#
To summarize I'll show you my conf files that could help you to resolve my problem:
/etc/fstab.conf
/dev/sdc1 /boot ext2 defaults 0 1
/dev/sdc2 / ext3 defaults 0 1
/dev/sdc3 /home ext3 defaults 0 1
So here I've sdc1 boot 32MB partition; sdc2 root 3GB partition; sdc3 home 978MB partition for a total of 4GB USB key~
I didn't make a swap partition as in the tutorial they are writing it's unnecessary for some kind of reasons.
/etc/mkinitcpio.conf
HOOKS="base udev usb autodetect pata scsi sata filesystems"
I've added to here, "usb" to the hooks
installed GRUB on my sdc, here is the menu.ist:
# (0) Arch Linux
title Arch Linux (USB)
root (hd0,0)
kernel /vmlinuz26 root=/dev/sdc ro vga=773
initrd /kernel26.img
So, I boot GRUB without problems, start Arch Linux, but then I got this error above.
I've searched alot on some forums and read many stuffs, but sitll can't fix it and it seems complicated.
I've tried to boot with UUID, also, but didn't make difference. I tried to remove some parameter from the hooks, but unfortunately this wasn't working still. I've read somewhere to use chroot, but I didn't catch on how to do that and what was the use of chroot, I'm still noob user of arch linux and currently learning. Maybe it's the problem, as some forum were talking about creating a new image, but I still don't know how to make it. By the way, I'm not sure this could have fixed my current problem. I've also read somewhere it could be due to my lack of space, but I wrote you how I did partition my USB key, let me know if you have any suggestion please.1. What I did is re-installing entirely from my installation disk or USB to test out different setting in my config files, because I don't know how to edit my .conf as I can't really finish to boot to the end and get in terminal mode? If there is a quicker way to edit files from any terminal to go into my current USB sdc to modify directly my file from there, I'd enjoy probably. So rebuilding the initpio, no, I just re-installed to test out different configs.
2. Yes, same error.
3. Tested out by-id/by-path and uuid = no difference
4. Didn't know about larch, it seems to be a nice tool, I'll check it out -
[SOLVED] Install Arch Linux on USB Stick!
So, here is the deal. I want to install Arch Linux on a USB Stick so I can plug it at any computer and have my system... with me
I've had a little bit experience with Arch so I know a few things about it... used it for a few months before on a real system.
My USB stick is a HighSpeed 17-20 MBPS and it's 16 GB capacity.
So how do I do it?
Last edited by 1lj4z1 (2012-04-05 07:25:53)I'm using occasionally Arch installed on HDD-USB, I've just added usb hook to mkinitcpio.conf and removed autodetect (more modules=more hardware supported). So far it worked on 3 different computers (all of them have one main HDD so no grub issues, but it's no biggie if it doesn't boot right away, you can always edit grub on-the-fly by pressing "e")
About USB stick: installing on USB stick is not the same as running it in LIVE mode! Consider yourself warned.
If you just install it you really should read about SSD optimizations because USB flash cells also have limited read/write cycles (actually is less robust and sophisticated than SSD). Something to look at: noatime mount option, disable swap if not necessary, profile-sync-daemon and so on...
1lj4z1 wrote:Well I don't need to chroot, i am running it live. I'll see about mkinitcpio.conf but I can't understand what you mean rebuilding initramfs? What is that exactcly?
It means if you fiddle with mkinitcpio you should run:
# mkinitcpio -p linux
afterwards or bad things will happen
Last edited by masteryod (2012-03-27 15:37:13) -
Installing Arch on a USB Key Partition
I'm new to Arch Linux, and installed it on a partition on my USB Key to try it out (it's cool!.... so far). One problem though. It's an 8GB drive with two partitions. I installed Arch on the first partition (2.5GB) and the rest is for storage. This is fine on computers that run Linux, but Windows only recognizes the first partition and does not see the storage partition.
Is there a way I could copy my entire Arch filesystem so I could reformat my USB Key with the partitions in the correct order? I was looking into Partimage and CloneZilla. I am also open to other solutions.Clonezilla worked fine! For anyone else who wants to restore an image of a partition to a different partition, make sure you read this:
http://drbl.org/faq/fine-print.php?path … tition.faq
Last edited by zangderak (2011-09-10 01:19:20) -
Having difficulty installing arch linux
Okay, so currently I have Windows. Before I put in the CD and restart my computer, I went to the Windows disk manager, and created some partitions so I wouldn't have to do it from the installation (I fear I may mess up and erase all my data). I'm trying to get a dual boot so i created partitions like http://wiki.archlinux.org/index.php/Win … _Dual_Boot suggested. All the new partitions I created were raw, I didn't give them a filesystem. When I start the installer with the Arch Linux Net CD, and get to the Hardware part, I select "Manually configure block devices, filesystems and mountpoints." It shows a list of partitions except they ALL appear to be raw. I think it had the correct number of partitions, but I had no idea which one's were supposed to be my Windows partitions (i.e. Windows and Recovery partition) and which one's were the new one's I created. Not wanting to screw anything up, I decided to restart and ask for help here. Why don't my Windows partitions show up as having an NTFS filesystem?
Also, that article I linked to said the boot partition should be in the first 8.5 GB of the disk. Is it possible to do this in the Window's disk manager?
Last edited by Kurushimi (2010-01-27 03:29:42)Greetings,
Do you remember the order you made the partitions in? If not either Ctrl Alt F2 to open a new TTY and run cfdisk to get your partition info or reboot back into windows and open your partition manager tool and get the information and remember to write down, what is in first partition, what is in second partition, and so on... If using the cfdisk method you hit Ctrl Alt F1 to go back to your installation screen.
Please note that first partition = SDA1, second = SDA2, third = SDA3, and 4th = SDA6.
You said you already crated a arch /home partition? That is not so until you have mounted and created the file system so no worries there. Just make SDA6 (assuming that is the large arch partition) your root / partition. You don't have to create a /home partition. Which ever is the windows partition, just ignore it/them in this step. The installer itself doesn't recognize NTFS as a file system in this process so it won't show it listed as one, but it is there.
Hope this helps, and good luck to you! -
Booting Arch Linux from usb flash [SOLVED]
I have instaled Arch Linux on usb flash (filesystem is ext2) I have regenerated initrd (mkinitcpio -p) with usb hook (HOOKS="base udev usb ide scsi sata filesystems"), but Arch Linux stop booting with error: unable mount dev/disk/by-uuid/my-uuid After pressing Control-D in recovery shell Caps Lock and Scroll Lock leds blink on my keyboard
I have tried booting from label (dev/disk/by-label/my-label) I have got same error
Please help me
PS Please forgive me for my English
Last edited by vav (2011-02-13 12:42:59)GRUB is installed on the usb flash drive
menu.lst:
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
# Linux Grub
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
# (0) Arch Linux
title Arch Linux
root (hd2,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/1e3753e6-01f4-4153-a36a-07a81c552ee0 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd2,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/1e3753e6-01f4-4153-a36a-07a81c552ee0 ro
initrd /boot/kernel26-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
Last edited by vav (2011-02-13 08:06:27) -
Is it suitable install Arch Linux on a USB key?
I want to install Arch Linux on a USB key following the wiki https://wiki.archlinux.org/index.php/In … _a_USB_key
But I now heard that Arch Linux will be very very slow than LiveUSB because of USB's bad I/O speed. Is it real?
Forgive my poor English, thank you!Actually I spent some times to study USB, and I concluded out that it is relate with USB's performance, as example, USB 3.0 is better than USB 2.0, SLC is better than MLC.
So the better performance of USB the more suitable to install Arch Linux. However, it will costs me much money to buy expensive USB:)
@Mr Green What's your blog? Is this http://archbang.org/? -
How to partition a USB flash-drive to install Arch Linux?
Good afternoon,
Could anyone please guide me in the right direction, how would I go about partitioning my USB flash-drive in order to install Arch Linux onto my Acer Aspire One? I've found guides, but none of them are specific enough - the static assumption being that the OS is already partitioned onto your flash-drive, and that is not the case for me.
Much appreciated,
A Swiftly Tilting Planetassuming your usb key is /dev/sdz
# dd if=/dev/zero of=/dev/sdz
//cleans the usb drive
# fdisk /dev/sdz
// press m and read the help, make a partition, make it bootable
// you have to press (double check anyway):
// n, p, 1, <enter>, <enter>, a, 1, t, b, w
# mkfs.vfat /dev/sdz1
// formatting
The first passage can actually replaced to something more modest, like:
# dd if=/dev/zero of=/dev/sdz bs=1024 count=1
Last edited by ezzetabi (2009-01-03 16:37:04) -
Failure to install Arch Linux via netinstall AIF; PGP key issues
Hello,
I'm am attempting a fresh install Arch Linux on a clean machine: Dell 1420, 4GB RAM. I am using the archlinux-2012.02.09_04-00-01-netinstall-dual.iso installer.
Installation progresses nicely through the package selection (I choose core, core-dev, xfce, and xorg packages only, to keep it simple for now). The packages download quickly, and then the installation fails during installation indicating that none of the PGP keys are known for any of the downloaded files. The process essentially aborts and I press 'Continue' returning me to the main menu. I have repeated this process several times.
What needs to be done to install Arch Linux?
Thanks.Hi,
Thanks, I have been through the Beginners Guide. I just want to get Arch Linux to "start" with a very basic GUI. during one of my installation iterations I did install only 'core' files, but the same failure occurred. so I'm at a loss as to how to get even a basic installation to take hold. Thoughts on the pgp key issues?
Thanks.
Update: I've switched to using the default net installer (2011.08.19) and the installation succeeded!
Last edited by zaleksf (2012-02-12 05:12:32) -
I'm having trouble instaling a printer driver for my Canon MG5220. I downloaded the latest printer driver from the Canon website (10.67.1.0) and installed it on my Intel iMac. It said the installation was sucessful, but when I try to add a printer, no go. The printer does'nt show up. I'm fairly new to the Mac, after switching from windows. I'm running Snow Leopard 10.6.8.
Hold down the option key and select
▹ System Information...
from the menu bar. In the window that opens, select
Hardware ▹ USB
from the list on the left. On the right you should now see a list of all connected USB devices, as well as some built-in components. Is the device shown? -
having trouble installing ProIX on new Windows 8 machine after XP crash. Get almost ll of the way through and get an error box ... contact system support. Only way out is to abort and then it un-installs. Wondering if a licensing max issue since we didn't get an opportunity to uninstall off of crashed machine?
Hey robr72339266,
With a single user license, you can install Acrobat on maximum two computers, say, your laptop at work and desktop at office.
But, you cannot use Acrobat on both the machines simultaneously.
You will first need to deactivate Acrobat from the old machine, then install and activate the software on the new OS with the same serial key.
Please Contact | Adobe to seek help on the same.
Regards,
Anubha -
(Solved) Having trouble installing vlc and openoffice
I am having trouble installing both VLC and Openoffice.
VLC
I tried typing in:
yaourt -S vlc
At first, it finds the package, and the first time I did it, downloaded quite a bit of stuff, and then it failed after installing a rather large package and then says :
error: failed retreiving file 'vlc-0.9.9a-6-i686.pkg.tar.bz' from archlinux.unix.heads.org : Not Found
Any idea what may be causing this?
OpenOffice
I tried typing in:
yaourt -S openoffice
Then it said it could not find openoffice in my /etc/customizepkg.d and then asks me to change my PKGBUILD and I had no idea what to edit in it.
Then, it tried to install it, and it tells me svn is not found in AUR.
What does this mean and how can I get openoffice?
Last edited by iscalio (2009-07-09 08:26:02)You need to use the -y flag to update your local repository list.
Ie pacman -Sy
You can conveniently combine all of your tasks..
pacman -Sy vlc openoffice-base
Error retrieving a file means either
A) The mirror you are using is updating itself and you were unlucky enough to sync right when it was doing so.. youll need to wait a little while and try -Sy again then..
B) Related to A.. your database could be either older or newer than the mirror you are using. If you switched mirrors recently, this happens sometimes. Most mirrors update ~daily, but some update ~weekly. -Sy to sync.. you could try -Syy to force a full sync so that even lists of supposedly up-to-date repositories (core,extra,so forth) are synced (doing so is only good/useful if you have problems)..
C) Your mirror is offline.. change it to another one in /etc/pacman.d/mirrorlist
D) Your internet is not running / your DNS is not working properly.. try to ping a site you know is online to be sure. Google is always a good choice. ping www.google.com. You can ctrl+c to end it if it responds as expected. Fix your internet (see the wiki) and domain name server (/etc/resolv.conf and your router) if you have problems.
You may or may not also wish to pacman -Scc in order to clean out your cache of saved packages in case there is a download problem.
Your post gives the impression you don't understand pacman vs yaourt.. apologies if i'm wrong, but just in case:
Pacman is used for official binary repository files. Yaourt can do pacman's job in addition to its own with the same syntax (imo it does a pretty slow and lousy job of such though), but it's real original function is primarily to install 3rd party / community packages that the Arch devs either can't or won't maintain (and most often, have not "ok"ed them as safe to install). You should look at yaourt in the wiki.. when it asks you to change the pkgbuild I imagine you mean when it says 'what do you want to edit it with?'.. which you dont need to edit it at all. The reason it asks you is because yaourt can install stuff from AUR, which like I said is 3rd party / community stuff that can contain something malicious (AUR is open to submissions, unlike the official repositories) and you are highly advised to look it over for something fishy before compiling and installing. FYI -- believe me, you don't want to compile openoffice without reaaally good reason on a really fast machine. It hurts. Your machine will be as usable as a doorstop for a very long time while it's doing it's business. Just save your time and patience, install the compiled binary via pacman instead.
Please use the wiki, forum search functions, and man pages. Most of the Arch community is friendly and knowledgeable, but people get (rightly) irked when their work maintaining the aforementioned to answer queries like this one are ignored.
Last edited by FrozenFox (2009-07-09 03:26:02) -
Having trouble installing CS5.5 on lion 10.7.3?
Are you having trouble installing CS5.5 on your mac (os lion 10.7.3)? Are you tired of receiving error reports (i recieved "exit code: 24" numerous times)? there is an easy way without hacking your mac into bits. start your comouter in security mode (hold down the shift key while your mac boots). Pop the CS5.5 Application 1 dvd into the drive and follow the instructions. no problems. no exit codes. no hassel. no swearwords. just an installation that works. why this is necessary is a mystery to me. but it works. after installing, don't forget to restart your mac in order to exit of security modus and return to normality;)
i hope this helps a few lost souls like me who have wasted hours of their time over the past couple of days. correct me if i'm wrong, but aren't updates suppose to make things work better?Hi..
You can disable the Lion resume feature.
Open System Preferences > General
Deselect: Restore windows when quitting and re-opening apps
As for Facebook, select "Keep me logged in" .. even if the page refreshes, you should stay logged in.
Click on the image once to enlarge.
For help to avoid Safari from auto refreshing pages, go to ~/Library/Caches/com.apple.Safari/Cache.db
For Lion v10.7x: To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
Move the Cache.db file to the Trash. Quit then relaunch Safari. -
[Solved] Boot process hangs for installed Arch and installation usb
Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
Loading Linux core repo kernel ...
Loading initial ramdisk ...
/dev/sda3: recovering journal
/dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
And then it hangs right there. I have to hard-reboot after this.
I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
sda2 - Windows 7 OS
sda3 - ArchLinux (boot flag enabled)
sdb1 - Ubuntu 12.10 (boot flag enabled)
sdb2 - Just data
I ran bootinfoscript and below is the output:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 99 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.10
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
/dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
/dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mmcblk0p1 6665-3162 vfat
/dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
/dev/sda2 1EE242D5E242B137 ntfs
/dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
/dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
/dev/sdb2 3C2E3A4E2E3A0206 ntfs
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sdb1 / ext4 (rw,errors=remount-ro)
=========================== sdb1/boot/grub/grub.cfg: ===========================
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 13,37,73; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
initrd /boot/initrd.img-3.5.0-21-generic
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-21-generic
menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.5.0-21-generic ...'
linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-21-generic
menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.2.0-29-generic ...'
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic
menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
echo 'Loading Linux 3.2.0-29-generic ...'
linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-29-generic
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux16 /boot/memtest86+.bin
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
else
search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
else
search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
fi
chainloader +1
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sdb1/etc/fstab: ================================
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
4.564525127 = 4.901121536 boot/grub/grub.cfg 1
5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
5.851592541 = 6.283099648 initrd.img 2
5.851592541 = 6.283099648 initrd.img.old 2
4.965751171 = 5.331934720 vmlinuz 2
4.965751171 = 5.331934720 vmlinuz.old 2
I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
Last edited by dhavalparmar (2012-12-30 11:45:25)Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
I told this to my friend who introduced me to Arch, and this is what he said:
Damn it computers, you were supposed to be deterministic! -
Having trouble installing LG slim portable DVD player to my new MacBook Air?
Having trouble installing LG slim portable DVD player to my new MacBook Air?
No installation required. Just plug it in to a USB port and it should work. If it doesn't then either the drive is no good or the USB port has failed.
The DVD drive will not show up on the desktop or in Finder unless you have a CD or DVD disc inserted in it. It will show in Disk Utility when it is connected to one of the USB ports.
Could also be your Air is not supplying enough power to it from just one USB port. In that case you would need a Y USB cable that connects to 2 USB ports at the same time to supply the correct amount of power to the drive.
Maybe you are looking for
-
Data of different session are not getting refreshed.
We used select one choice and it is bind to the iterator. Data of different session are not getting reflected. Problem Scenario : Two browsers are open with same screen . In browser-1, I am adding new item which display on drop down of same screen. B
-
Every time I foreword an address or web page etc. using the "File" E-Mail Link the following happens. The e-mail is sent but there are five old error messages shown below. The e-mail goes trough but I have to hit the [close] box to clear the sent mes
-
Hi, I'm in the process of trying to automate some pdf tasks. We currently scan in records, make them searchable via OCR, and combine them in groups into a portfolio. The portfolio part requires a lot of manual processing. In the batch processor I'
-
Easiest way to use project as template
I`ve made my first motion Project by using a tutorial http://www.izzyvideo.com/motion-animated-map/http://www.izzyvideo.com/motion-animated-map/ I want to use this as a template. Whats the easiest way to change cities and directions? Eventually this
-
hi..I installed windows insider on my switch 10.First, i found my wifi didn't work, then i tried to restore and roll back.Now my S10 can't start...look what happenhttps://www.youtube.com/watch?v=gGeJW8KsSO8