Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] how to chainload a experimental sid install  (Read 4416 times)

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
[EN] Re: how to chainload a experimental sid install
« Reply #15 on: 2013/12/01, 17:05:40 »
This is what my 40_custom looks like (i have more distro's that are non-siduction related so not posted) and is probably the best route to take.

I have also edited grub.cfg in the past, it's easy for me, but, 40_custom is still the best route (and probably easier for most people).

Code: [Select]
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod reiserfs
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  f27ee75a-918d-456a-bc29-56424c5256c8
else
  search --no-floppy --fs-uuid --set=root f27ee75a-918d-456a-bc29-56424c5256c8
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=magenta/black
  set color_highlight=green/black
else
  set menu_color_normal=magenta/black
  set menu_color_highlight=green/black
fi
### END /etc/grub.d/05_debian_theme ###
menuentry 'Windows 7' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint='hd0,msdos2'  82B4B4FAB4B4F1B1
    else
      search --no-floppy --fs-uuid --set=root 82B4B4FAB4B4F1B1
    fi
    chainloader +1
}
menuentry "Aptosid-Live-i386 development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/aptosid-2012-01-thanatos-kde-full-i386-amd64-201212010120.iso
    linux (loop)/boot/vmlinuz0.686 fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/aptosid-2012-01-thanatos-kde-full-i386-amd64-201212010120.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.686
}
menuentry "Aptosid-Live-amd64-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/aptosid-2012-01-thanatos-kde-full-i386-amd64-201212010120.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/aptosid-2012-01-thanatos-kde-full-i386-amd64-201212010120.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-lxde-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-12.2.0-ridersonthestorm-lxde-amd64-201212092122.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-12.2.0-ridersonthestorm-lxde-amd64-201212092122.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-xfce-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-12.2.0-ridersonthestorm-xfce-amd64-201212092126.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-12.2.0-ridersonthestorm-xfce-amd64-201212092126.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-rqt-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-13.1.1-paintitblack-rqt-amd64-201309290351.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-13.1.1-paintitblack-rqt-amd64-201309290351.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-kde-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-13.1.1-thunderstruck-kde-amd64-201310171237.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-13.1.1-thunderstruck-kde-amd64-201310171237.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-e17-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-13.0.5-paintitblack-nox-amd64-201306191627.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-13.0.5-paintitblack-nox-amd64-201306191627.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}
menuentry "Siduction-Live-nvidia-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-13.0.5-paintitblack-kde-amd64-201306231802.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-13.0.5-paintitblack-kde-amd64-201306231802.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}   
menuentry "Siduction-Live-gnome-development" {
    insmod iso9660
    insmod part_msdos
    insmod reiserfs
    set root='hd1,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos5 --hint-efi=hd2,msdos5 --hint-baremetal=ahci2,msdos5 --hint='hd1,msdos5'  9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    else
      search --no-floppy --fs-uuid --set=root 9a9cc1d1-6870-4002-ad0a-bebef0c2409d
    fi
    loopback loop /siduction/siduction-13.1.1-paintitblack-gnome-dev-amd64-201309290353.iso
    linux (loop)/boot/vmlinuz0.amd fromhd=UUID=9a9cc1d1-6870-4002-ad0a-bebef0c2409d fromiso=/siduction/siduction-13.1.1-paintitblack-gnome-dev-amd64-201309290353.iso boot=fll lang=en_US tz=America/New York quiet noeject toram
    initrd (loop)/boot/initrd0.amd
}   
menuentry "Snowlinux 4 ideas for e17" {
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(/dev/sdb,msdos6)'
    search --no-floppy --fs-uuid --set=root 9ba1bfe2-f975-4c6d-a897-656513731a76
    echo    'Loading Linux 3.5.0-10-generic ...'
    linux    /boot/vmlinuz-3.5.0-10-generic root=UUID=9ba1bfe2-f975-4c6d-a897-656513731a76 ro  quiet splash
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-3.5.0-10-generic
}
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck