logout: - $Author:
QuicklinksEndUserTest/VirtualisatonInstallierenKernel - TuningNetworkDisplay / PadsBock DevicesPrinterUSB-DevicesBenutzerSWServerInstall NotesGeneral/Hints |
Collection of installation & troublshooting info related to my linux (debian/mint/ubuntu) installations grub1
Grub2 Links und Dokuhttp://www.dedoimedo.com/computers/grub-2.html
GRUB2 historisch gewachsene Notizen
/etc/grub.d z.B. (PLoP) ab USB booten (falls noch notwendig)
auch:
/etc/default/grub -> Timeout, Default parition grub-mkconfig <-> update-grub (herkömmlicher Befehl für grub) menuentry "Plop Bootmanager" { insmod ext2 set root=(hd0,6) search --no-floppy --fs-uuid --set 9c4375f0-180b-403a-b6b7-aaeba949cda0 linux /boot/plpbt.bin } sudo updategrub (sucht System - auch USB-Disks - ab und generiert alle Einträge) obiger Eintrag wird übernommen, und in grub.cfg geschrieben. GRUB2Basics, und ältere Notizen
set pager=1 (Bättern mit Enter)
modules: für USB (default?) -> (PLoP-Bootmgr.)
usb_keyboard.mod
how to build a grub2 floppy with fs adventure
GRUB2Toshiba protege m200 s4 - grub1 doesn t work.
Microspot Hi-Speed Slim Drive FUJITSU MHV2080AH was not bootable with grub 0.97
I installed grub2 to mbr to my MHV2080AH hard dive from a working 8.04 installation, with grub2. install Grub2 in MBR of external drive and create /boot/grub/.. mount --bind /mnt/ext-drive/boot /boot # boot dir is external drive, and hide actual /boot
--recheck: upgrades devices.map update-grub (installs to /boot) changements to grub.cfg
Configfiles for grub2
The new grub2 command environment is rather comfortable. It's analogous to grub 1, but some commands have changed.
older notes To install: (for foreign disk: mount --bind /boot /dispath/boot all commands work with /boot older versions of grub2 are not complete and may not work correctly (grub2-emu missing in ubuntu 7.10) # hook grub into MBR $ grub-install "(hd0)" grub-install [--recheck] --root-directory=/mnt/ext_drive /dev/sda] # generate grub.cfg $ update-grub ( ev. mount --bind /mnt/ext_drive/boot /boot ) If that fails, you can use the fine-grained commands explained in http://grub.enbug.org/GettingStarted to try diagnosing the problem. Additionally, you can use core.img to grab a GRUB2 floppy: $ dd if=/usr/lib/grub/i386-pc/boot.img of=/dev/fd0 bs=512 count=1 $ dd if=/boot/grub/core.img of=/dev/fd0 bs=512 seek=1 -- Otavio Salvador <otavio@debian.org>, Wed, 7 Jun 2006 21:25:25 -0300 http://www.gnu.org/software/grub/grub-2.en.html
trying to get grub2 running in ubuntu 7.10 / notes
grub-install
grub-emu
z.B. wenn Grub und cmdline o.k. z.B. grub.cfg nicht gefunden http://members.iinet.net/~herman546/p20/GRUB2%20CLI%20Mode%20Commands.html set pager=1 /* more Funkion */ help (zeigt Befehle) ls (hd0) (hd0,0) (hd0,1) (hd0) (hd0,0) (hd0,1) ls (hd0,1) Partition hd0,1: Filesystem type ext2, Label OCZ-KARMIC, Last modification time 2009-12-28 07:59:36 Monday, UUID 2ee1e3a3-f03a-4690-8310-7c3236786563 Information über Partition ls -lh (hd0,1)/ search /grub.cfg (ging bei meinem Test nicht) configfile (hd0,1)/boot/grub/blabla/grub.cfg Win booten: set root=(hd0,2) ( z.B. Vista 2. Partition NTFS) chainloader +1 boot (-> frage: sollte das **immer** funkionieren, wenn grub cmdline vorhanden?) '''andere Befehle:''' lsmod #start plop boot manager aus cmdline set root=(hd0,5) #z.B. 1. extended Partiton linux /boot/plop/plpbt.bin # Tab-file-Extention funkinonert ev. linux16 boot # ev. Shit Enter USB - force usb1 grub rescue grub Module können von der cmdline geladen werden, z.B. wenn die Bezüge zur Disk-Partition nicht mehr stimmen. (Meist ist es einfacher Grub neu zu installieren). "find"-> search /vmlinzz
kboothttp://kboot.sourceforge.net/#links Categorie: Boot
|