Page 1 of 1

Posted: Sat 07 Apr 2012, 02:49
by sgull
Tman wrote:In my opinion, using the grub4dos bootloader config that comes with most modern pups is the simplest method.
As Shinobar has said, it will autodetect other Grub2 installs.
Although the method I used, that of editing Grub2 configuration files, seems to have worked, I really wish I'd looked more closely at using the grub4dos bootloader instead. As you say it does seem simpler than the more involved "round-about" method I ended up messing with.

Next time... :?

Posted: Sat 07 Apr 2012, 06:53
by nooby
Guys are you really sure that grub4dos work for every full install distro?

Re the editing of grub.conf directly. I read about that thing on another site too.
But where using an old scrap machine that I ditched and forgot to do a note
where I read it. Typical of me. That guy renamed 10_custom to 07_custom
or something. Humor that one :)

Edit Ooops it where in this thread by Artistjsb. first post.
Correction it is 40_custom he renames not the other one.

Hahah my poor memory change things around. Not good memory at all.
Happy though that I have found this thread again. Bookmark it now! :)

Posted: Sat 07 Apr 2012, 14:21
by Tman
nooby wrote:Guys are you really sure that grub4dos work for every full install distro?
It has worked for every distro I tried so far. For distros that use grub2, it should be fairly easy. I had to tweak the menu.lst for vector linux. I just installed Arch and had to tweak it also. Actually it wasn't really that hard.
You just need to provide the proper uuid, and the exact path+name for the initrd file and the kernel file. Some distros have totally different names for them ( see Slitaz menu entry below ).
But there are only 2 files to search for (usually located in the /boot folder).

Below are my menu entries for full-installs. I don't have the settings for Vector Linux, cause I removed it. I also removed Mint and Debian because usage and commands are pretty much the same as Ubuntu-Studio. My final distro is going to be Fedora.

Code: Select all

### Slitaz frugal installs

title SilTaz 4.0 RC3 - chainloader method
  root (hd0,1)
  chainloader +1

title SilTaz 4.0 RC3 - uuid method
  uuid 88a85285-c831-46e4-a400-c771b6625876
  kernel /boot/bzImage   rw root=/dev/null home=88a85285-c831-46e4-a400-c771b6625876
  initrd /boot/rootfs.gz

### Full installed Linux

title Ubuntu Studio 11.10 (sda2)
  uuid 3db3c8d0-00dd-4886-baf8-68502d04004e
  kernel /vmlinuz root=/dev/sda2 pmedia=atahd ro
  initrd /initrd.img

title Arch Linux (sda4)
  uuid 1c81c9c8-50a7-435d-ac96-bf795cab63d5
  kernel /boot/vmlinuz-linux root=/dev/sda4 ro vga=773
  initrd /boot/initramfs-linux.img

title  Arch Linux Fallback (sda4)
  uuid 1c81c9c8-50a7-435d-ac96-bf795cab63d5
  kernel /boot/vmlinuz-linux root=/dev/sda4 ro
  initrd /boot/initramfs-linux-fallback.img
EDIT: oops Slitaz was an unconventional frugal install..I've corrected the menu description.
-

Posted: Sat 07 Apr 2012, 17:59
by nooby
Thanks for sharing that one.

I will try your code on the crunch variant of arch?
And Crunchbang for debian too?

I have an 8Gb usb running now so hopefully I managed
to download the iso and set it all up within the two hours
I have before bed time.