Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
slackbook:booting [2012/09/05 05:18 (UTC)]
mfillpot [Dual Booting with Partitions] copied original text and correct formatting
slackbook:booting [2012/09/12 20:42 (UTC)] (current)
sycamorex [Sources] Bullet Points
Line 33: Line 33:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# ls -1 /​boot/​vmlinuz* darkstar:~# ls -1 /​boot/​vmlinuz*
 /​boot/​vmlinuz-huge-2.6.29.4 /​boot/​vmlinuz-huge-2.6.29.4
Line 109: Line 109:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# mkinitrd --help darkstar:~# mkinitrd --help
 mkinitrd creates an initial ramdisk (actually an initramfs cpio+gzip mkinitrd creates an initial ramdisk (actually an initramfs cpio+gzip
Line 132: Line 132:
  
  
-<​code>​+<​code ​bash
 darkstar:~# mount darkstar:~# mount
 /dev/sda1 on / type ext4 (rw,​barrier=1,​data=ordered) /dev/sda1 on / type ext4 (rw,​barrier=1,​data=ordered)
Line 149: Line 149:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# mkinitrd -f ext4 -r /dev/sda1 darkstar:~# mkinitrd -f ext4 -r /dev/sda1
 </​code>​ </​code>​
Line 170: Line 170:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# >/​prompt>​cat /​etc/​mkinitrd.conf.sample darkstar:~# >/​prompt>​cat /​etc/​mkinitrd.conf.sample
 # See "man mkinitrd.conf"​ for details on the syntax of this file # See "man mkinitrd.conf"​ for details on the syntax of this file
Line 209: Line 209:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# /​usr/​share/​mkinitrd/​mkinitrd_command_generator.sh darkstar:~# /​usr/​share/​mkinitrd/​mkinitrd_command_generator.sh
 mkinitrd -c -k 2.6.33.4 -f ext3 -r /dev/sda3 -m \ mkinitrd -c -k 2.6.33.4 -f ext3 -r /dev/sda3 -m \
Line 230: Line 230:
 installer, but you can run it at any time from a terminal. installer, but you can run it at any time from a terminal.
  
-{{ :slackware:setup_lilo_cl.png?550 |}}+{{ :slackbook:setup-lilo.png?550 |}}
  
 **//​liloconfig//​** has two modes of operation: **//​liloconfig//​** has two modes of operation:
Line 268: Line 268:
  
  
-<code>+<file>
 # LILO configuration file # LILO configuration file
  
Line 284: Line 284:
 vga = 773 vga = 773
 .... many more lines ommitted .... .... many more lines ommitted ....
-</code>+</file>
  
  
Line 327: Line 327:
  
  
-<code>+<file>
 # LILO configuration file # LILO configuration file
 ... global section ommitted .... ... global section ommitted ....
Line 342: Line 342:
   table = /dev/sda   table = /dev/sda
 # Windows bootable partition config ends # Windows bootable partition config ends
-</code>+</file>
  
  
Line 364: Line 364:
  
  
-<​code>​+<​code ​bash>
 darkstar:~# lilo darkstar:~# lilo
 Warning: LBA32 addressing assumed Warning: LBA32 addressing assumed
Line 507: Line 507:
 ==== Dual Booting from Hard Drives ==== ==== Dual Booting from Hard Drives ====
  
-Dual booting between different physical hard drives is often easier than with partitions since the computer'​s BIOS or EFI almost invariably has a boot device chooser that allows you to interrupt the boot process immediately after POST and choose what drive should get priority.+Dual booting between different physical hard drives is often 
 +easier than with partitions since the computer'​s BIOS or EFI 
 +almost invariably has a boot device chooser that allows you to 
 +interrupt the boot process immediately after POST and choose what 
 +drive should get priority. 
 + 
 + 
 +The snag key to enter the boot picker is different for each brand 
 +of motherboard;​ consult the motherboard'​s manual or read the 
 +splash screen to find out what your computer requires. Typical 
 +keys are <​key>'​F1'</​key>,​ <​key>'​F12'</​key>,​ 
 +<​key>'​DEL'</​key>​. For Apple computers, it is always the 
 +<​key>'​Option'</​key>​ (Alt) key. 
 + 
 + 
 +If you manage the boot priority via BIOS or EFI, then each boot 
 +loader on each hard drive is only aware of its own drive and will 
 +never interfere with one another. This is rather contrary to what 
 +a boot loader is designed to do but can be a useful workaround 
 +when dealing with proprietary operating systems which insist upon 
 +being the only OS on the system, to the detriment of the user'​s 
 +preference. 
  
-The snag key to enter the boot picker is different for each brand of motherboard;​ consult the motherboard's manual or read the splash screen to find out what your computer ​requires. Typical keys are **F1, F12DEL**For Apple computers, it is always ​the **Option** (Alt) key.+If you don't have the luxury ​of having multiple internal hard 
 +drives and don't feel comfortable juggling another partition and 
 +OS on your computer, ​you might also consider using a bootable USB thumbdrive or even a 
 +virtual machine to give you access to another OSBoth of these 
 +options ​is outside ​the scope of this book, but they'​ve commonplace 
 +and might be the right choice for you, depending on your needs.
  
-If you manage the boot priority via BIOS or EFI, then each boot loader on each hard drive is only aware of its own drive and will never interfere with one another. This is rather contrary to what a boot loader is designed to do but can be a useful workaround when dealing with proprietary operating systems which insist upon being the only OS on the system, to the detriment of the user's preference. 
  
-If you don't have the luxury of having multiple internal hard drives and don't feel comfortable juggling another partition and OS on your computer, you might also consider using a bootable USB thumbdrive or even a virtual machine to give you access to another OS. Both of these options is outside the scope of this book, but they'​ve commonplace and might be the right choice for you, depending on your needs.+====== Chapter Navigation ====== 
 +**Previous Chapter: [[slackbook:​install|Installation]]**
  
 +**Next Chapter: [[slackbook:​shell|Basic Shell Commands]]**
 ====== Sources ====== ====== Sources ======
 <!-- If you copy information from another source, then specify that source --> <!-- If you copy information from another source, then specify that source -->
- * Original source: [[http://​www.slackbook.org/​beta/#ch_boot]] +  ​* Original source: [[http://​www.slackbook.org/​beta]] ​\\
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-<​!-- ​* Originally written by [[wiki:​user:​xxx | User X]] -->+  ​* Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson
 <!-- * Contrbutions by [[wiki:​user:​yyy | User Y]] --> <!-- * Contrbutions by [[wiki:​user:​yyy | User Y]] -->
  

In Other Languages
QR Code
QR Code slackbook:booting (generated for current page)