Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:waitusb [2013/01/05 23:21] – corrected bottom section label size. lverns | wiki:waitusb [2013/05/13 22:23] (current) – [LABEL Version] changed info about the location of the mtools config file lverns | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===Basic Form==== | + | **//This page was most recently tested on Core 4.7.6//** |
+ | ====Basic Form==== | ||
The form of this bootcode is as follows | The form of this bootcode is as follows | ||
- | < | + | waitusb=X |
When used, the system will pause during the boot process for X seconds before finishing the start-up process. The use of this boot code allows slow devices to finish initializing before the system finds itself in need of them. | When used, the system will pause during the boot process for X seconds before finishing the start-up process. The use of this boot code allows slow devices to finish initializing before the system finds itself in need of them. | ||
- | ===Advanced Forms=== | + | ====LABEL Version=== |
There are two other versions of this boot code that are very useful. | There are two other versions of this boot code that are very useful. | ||
The first one is as follows | The first one is as follows | ||
- | < | + | waitusb=X: |
- | This version waits for X seconds, scanning the system a couple times a second for a device | + | This version waits for X seconds, scanning the system a couple times a second for a partition |
- | Don't know what the LABEL of your device | + | Don't know what the LABEL of your partition |
- | **TODO: tell how to set the label of a partition.**\\ | + | ==Change the label of a ext* partition== |
+ | Install e2fsprogs.tcz | ||
+ | | ||
+ | Then set the label of a partition that is formatted with the ext2, ext3, or ext4 partition. | ||
+ | | ||
+ | ==NTFS== | ||
+ | There are very few instances where you would want to wait on a ntfs partition, but here are the instructions anyway.\\ Install ntfsprogs.tcz | ||
+ | | ||
+ | Change the label of your partition | ||
+ | | ||
+ | Where DEVICE is the ntfs partition that you want to label, and where LABEL is the label you want to use. | ||
+ | Example: | ||
+ | | ||
+ | ==Change the label of a FAT* partition== | ||
+ | Install mtools.tcz and glibc_gconv.tcz: | ||
+ | | ||
+ | | ||
+ | You can then change the label of a FAT partition like this: | ||
+ | | ||
+ | Where X is the name of the drive (e.g. sdb1) and where mylabel is the label you want to give your device (e.g. " | ||
+ | **mlabel** can be a little annoying to work with and may ask you to add a line to its configuration file. This file can be named / | ||
+ | |||
+ | ==OTHER== | ||
+ | FIXME | ||
+ | ====UUID Version==== | ||
Here is the second version: | Here is the second version: | ||
- | < | + | waitusb=X: |
This version waits for X seconds, scanning the system a couple times a second for a device with a UUID that equals xx. When the X seconds have passed OR when the device specified has been found, the system will stop waiting and will continue the booting process. | This version waits for X seconds, scanning the system a couple times a second for a device with a UUID that equals xx. When the X seconds have passed OR when the device specified has been found, the system will stop waiting and will continue the booting process. | ||
You can find the UUID of your device you can follow the same procedure as you do for finding the LABEL of a partition. It is possible for some drives to be lacking a UUID; however, setting it is even more mentally challenging than setting the LABEL.\\ | You can find the UUID of your device you can follow the same procedure as you do for finding the LABEL of a partition. It is possible for some drives to be lacking a UUID; however, setting it is even more mentally challenging than setting the LABEL.\\ | ||
- | **TODO: tell how to set the UUID of a partions** | + | FIXME: tell how to set the UUID of a partions |
- | ===Advantages of the Different Forms=== | + | ====Advantages of the Different Forms=== |
Using the basic form is a quick fix and might allow the system to slow down for devices other than hard drives and usb drives.\\ | Using the basic form is a quick fix and might allow the system to slow down for devices other than hard drives and usb drives.\\ | ||
- | Technically speaking, using UUID doesn' | + | Technically speaking, using UUID doesn' |
On the downside, UUIDs are not at all readable and copying them by hand is quite nasty, so if your setup requires you to type in your boot codes upon every boot, then the UUID version is not for you. | On the downside, UUIDs are not at all readable and copying them by hand is quite nasty, so if your setup requires you to type in your boot codes upon every boot, then the UUID version is not for you. | ||