Difference between revisions of "Talk:Installing Arch Linux on a USB key"

From ArchWiki
Jump to: navigation, search
(Proposed changes: Close.)
m (add proper heading + unsigned, see Help:Discussion)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Just a note that I'm hesitant to add to the main page, but probably should be there: the media name must match its expected name (something like ARCH_YEARMN, i.e., ARCH_201207 with a current image). Took me a bit to figure out why mine wasn't working, it did the "waiting 30 seconds" thing, couldn't find the volume, and dropped to emergency shell. --[[User:Mathwizard1232|Mathwizard1232]] ([[User talk:Mathwizard1232|talk]]) 16:43, 23 July 2012 (UTC)
+
== I/O errors ==
  
Oh, and source for the above: https://bbs.archlinux.org/viewtopic.php?id=144246 . Good thing I looked it up, my first post had the wrong format...changed above. --[[User:Mathwizard1232|Mathwizard1232]] ([[User talk:Mathwizard1232|talk]]) 01:59, 24 July 2012 (UTC)
+
I am experiencing serius I/O errors after suspending / resuming with arch on a usb key. These issues have been described in several bugreports:
 +
https://bugzilla.kernel.org/show_bug.cgi?id=30912
  
== <s> Proposed changes </s>==
+
I tried following the steps in
 +
https://www.kernel.org/doc/Documentation/usb/persist.txt
  
I'd like to add a section for information about using the Syslinux boot loader under configuration and make a note comparing the two. Also I'd like to add a category under tips for using your USB install on multiple machines. I would then add multiple subcategories for things like preferred architecture, suggested video drivers, and other things designed to help people make their USB install compatible with the widest range of hardware. Are there any objections?
+
but to no avail. The usb persist feature was already activated on my USB deve but I/O errors kept coming on resume
[[User:Evilclown|Evilclown]] ([[User talk:Evilclown|talk]]) 13:27, 20 April 2013 (UTC)
+
 
: Please only add USB key specific info in this page. General info should go to [[Grub]],[[Syslinux]] or [[Boot Loader]]. --[[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 01:33, 21 April 2013 (UTC)
+
I also found this post in ubuntuforums
:: The Syslinux info I plan to add is how to use Syslinux to boot a USB key. Since GRUB Legacy has been deprecated and replaced by GRUB2 in Arch Linux. I felt adding the how to use Syslinux to boot USB keys would be first step in updating this page to reflect that change. [[User:Evilclown|Evilclown]] ([[User talk:Evilclown|talk]]) 09:40, 21 April 2013 (UTC)
+
 
::: Fine. By the way, in Arch Wiki [[Grub]] is actually for grub2 and GRUB Legacy is covered by [[GRUB Legacy]]. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 03:28, 22 April 2013 (UTC)
+
http://askubuntu.com/questions/505779/suspending-with-root-on-usb
:::: Fengchao, Thank you. I'll apply the changes now, please let me know if they're not to your liking. [[User:Evilclown|Evilclown]] ([[User talk:Evilclown|talk]]) 03:57, 22 April 2013 (UTC)
+
 
 +
which explains the issue as follows
 +
 
 +
"...during resume there will be a race between the USB system on one hand trying to detect media and syslog on the other hand trying to write log messages from suspend and resume to disk.
 +
 
 +
If syslog happens to attempt a write before the USB device has been detected ext4 gets an error, which for some reason isn't handled cleanly and eventually the file system will need fsck to be run manually."
 +
 
 +
The author suggest patching the kernel to give kernel threads a head start on resume. Intuitively, I feel there must be an easier way!
 +
 
 +
{{unsigned|20:37, 30 November 2015‎|A1runa}}

Latest revision as of 20:49, 30 November 2015

I/O errors

I am experiencing serius I/O errors after suspending / resuming with arch on a usb key. These issues have been described in several bugreports: https://bugzilla.kernel.org/show_bug.cgi?id=30912

I tried following the steps in https://www.kernel.org/doc/Documentation/usb/persist.txt

but to no avail. The usb persist feature was already activated on my USB deve but I/O errors kept coming on resume

I also found this post in ubuntuforums

http://askubuntu.com/questions/505779/suspending-with-root-on-usb

which explains the issue as follows

"...during resume there will be a race between the USB system on one hand trying to detect media and syslog on the other hand trying to write log messages from suspend and resume to disk.

If syslog happens to attempt a write before the USB device has been detected ext4 gets an error, which for some reason isn't handled cleanly and eventually the file system will need fsck to be run manually."

The author suggest patching the kernel to give kernel threads a head start on resume. Intuitively, I feel there must be an easier way!

—This unsigned comment is by A1runa (talk) 20:37, 30 November 2015‎. Please sign your posts with ~~~~!