I used Mandriva 2009 (/dev/sda5) to compile grub2. (There is a thread
http://forum.mandriva.com/viewtopic.php ... 0c34e5e5db in Mandriva's forum). To install grub 2 on Puppy I've done some changes
I. Compiling grub2 on Mandriva's partition
1 $ ./configure --prefix=/boot/grub2
2 $ make
3 # make install
Mount Puppy partition
4 # mount /dev/sda8 /mnt
Liblzo2.so.2 is a link to liblzo2.so.2.0.0. I copied both.
5 # cp /usr/lib/liblzo2.so.2 /mnt/usr/lib/liblzo2.so.2
6 # cp /usr/lib/liblzo2.so.2.0.0 /mnt/usr/lib/liblzo2.so.2.0.0
Copy whole folder grub2
7 # cp -r /boot/grub2 /mnt/boot/grub2
II Reboot and login to Puppy
Modifications
Modify /boot/grub2/sbin/update-grub script
change (line 73) from
GRUB_DEVICE="`grub-probe --target=device /`"
to
GRUB_DEVICE="`/home/grub2/sbin/grub-probe --target=device /`"
Open rox-filer, go to /boot directory and rename vmlinuz to vmlinuz-puppy411 (/boot/grub2/sbin/10_linux script us looking for format "/boot/vmlinu[xz]-* /vmlinu[xz]-*" so I used -puppy411. I copied initrd.gz to /boot and rename it initrd-puppy411.gz but this was just in case)
III Installing GRUB 2 from Puppy 4.1.1
8 # /boot/grub2/sbin/update-grub
9 # /boot/grub2/sbin/grub-install /dev/sda /dev/sda8
10 # /boot/grub2/sbin/grub-setup /dev/sda8
(I've seen on debian wiki that update-grub should be the last script to execute.)
IV After installation
I have grub-0.97 on MBR and menu.lst file on /dev/sda7.
To boot Puppy, I used to use section like this
title Puppy 4.1.1 (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz root=/dev/sda8 ro vga=normal
Now I change it to
title Puppy Linux 4.1.1 (on /dev/sda8)
root (hd0,7)
chainloader +1
Booting is one step longer now: GRUB Legacy>GRUB 2>Puppy 4.1.1.
How I installed grub-1.96 on Puppy 4.1.1 root partition
How to do things, solutions, recipes, tutorials
Message
Author
Return to “HOWTO ( Solutions )”
Jump to
- House Training
- ↳ Beginners Help ( Start Here)
- ↳ Users ( For the regulars )
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ HOWTO ( Solutions )
- ↳ Bugs ( Submit bugs )
- Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ Package Collections / Repositories
- ↳ REQUESTS
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Multimedia
- ↳ Network
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ Unsorted
- ↳ Cutting edge
- ↳ Multi-session live-CD/DVD
- ↳ Hardware
- ↳ Audio
- ↳ Networking
- ↳ Dialup
- ↳ Ethernet
- ↳ Wireless
- ↳ Printers
- ↳ Video
- ↳ Puppy Derivatives
- ↳ Puppy Projects
- ↳ Next Puppy Development
- ↳ 4.x
- ↳ Bugs (4.x dev)
- ↳ Usability Issues (4.x dev)
- ↳ 5.x
- ↳ Bugs (5.x dev)
- ↳ Usability Issues (5.x dev)
- ↳ Localization Project
- ↳ Documentation Project
- Taking the Puppy out for a walk
- ↳ Announcements
- ↳ Puppy Power
- ↳ Suggestions
- ↳ Misc
- Off-Topic Area
- ↳ Programming
- ↳ Security
- ↳ Truly off-topic conversations
- ↳ Spam reports