Keresés

Új hozzászólás Aktív témák

  • pomm

    tag

    válasz Speeedfire #15489 üzenetére

    Grub2 telepíts a pendrive-ra és másold az iso-kat a /boot/iso alá!
    1, linux alatt pendrive bedug, mountol - pl. az /mnt/sdb alá!
    Ha a pendrive-od a sdb, akkor:
    2, grub-install --root-directory=/mnt/sdb --no-floppy /dev/sdb
    3, Ha lefutott, akkor a pendrive-on a /boot alatt létrehozol egy iso mappát és betolod oda az iso-kat (pl.: ubuntu)
    4, Utána szerkeszted a /mnt/sdb/boot/grub/grub.cfg fájlt
    Bemásolod (ha nincs ilyen létrehozod!):
    menuentry "Ubuntu" {
    loopback loop /boot/iso/ubuntu.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu.iso file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --
    initrd (loop)/casper/initrd.lz
    }
    mented.
    Ha létre kell hoznod a fájl elejére beilleszted ezt:

    set default="1"
    set timeout=10
    if loadfont /boot/tools/fonts/unicode.pf2 ; then
    set gfxmode="640x480"
    insmod gfxterm
    insmod vbe
    terminal_output gfxterm
    if terminal_output gfxterm; then true ; else
    terminal gfxterm
    fi
    fi
    insmod tga
    if background_image /boot/tools/images/bg.tga ; then
    set color_normal=blue/black
    set color_highlight=red/black
    else
    set color_normal=white/black
    set color_highlight=white/light-gray
    fi

    GRUB_GFXMODE=1024x768x16
    insmod vbe

    Lemented, reboot és örülsz... :)

    Ha más is kell rá, akkor az -iso-tól függően kell megoldanod!!!
    Pl. a debian és az arch még nem működik így, de az ubuntu, kubuntu, mint, sysrecue, hiren's bootcd, backtrack, UBCD, stb. igen. Én ezeket használom:

    set default="1"
    set timeout=10
    if loadfont /boot/tools/fonts/unicode.pf2 ; then
    set gfxmode="640x480"
    insmod gfxterm
    insmod vbe
    terminal_output gfxterm
    if terminal_output gfxterm; then true ; else
    terminal gfxterm
    fi
    fi
    insmod tga
    if background_image /boot/tools/images/bg.tga ; then
    set color_normal=blue/black
    set color_highlight=red/black
    else
    set color_normal=white/black
    set color_highlight=white/light-gray
    fi

    GRUB_GFXMODE=1024x768x16
    insmod vbe

    menuentry "Hiren BootCd 13.2" {
    set isofile="/boot/iso/hiren.iso"
    loopback loop $isofile
    linux16 /HBCD/memdisk boot=HBCD
    initrd16 /HBCD/boot.gz
    }

    menuentry "First Partition of First HDD" {
    set root=(hd0,1)
    chainloader +1
    }

    menuentry "Mint" {
    set isofile="/boot/iso/mint.iso"
    loopback loop $isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash noprompt --
    initrd (loop)/casper/initrd.lz
    }

    menuentry "backtrack" {
    loopback loop /boot/iso/bt.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/bt.iso noeject noprompt splash --
    initrd (loop)/casper/initrd.gz
    }

    menuentry "Kubuntu" {
    loopback loop /boot/iso/kubuntu.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/kubuntu.iso file=(loop)/preseed/kubuntu.seed quiet splash bootkbd=sg --
    initrd (loop)/casper/initrd.lz
    }
    menuentry "Ubuntu 11.10 (mini)" {
    loopback loop /boot/iso/mini.iso
    linux (loop)/linux vga=normal --
    initrd (loop)/initrd.gz
    }
    menuentry "System Rescue" {
    linux /systemrescue/isolinux/rescuecd rootfs=/systemrescue subdir=systemrescue dostartx setkmap=hu
    initrd /systemrescue/isolinux/initram.igz
    }

    menuentry "Ultimate Boot CD" {

    linux /boot/tools/grub.exe --config-file=/boot/grub/menu.lst

    }

    #start#
    menuentry "Restart" {
    insmod reboot
    reboot
    }

    menuentry "Shutdown" {
    insmod halt
    halt
    }
    #stop#

    A systemrescue pl. iso-ból nem indul, ki kell csomagolni a pendrive gyökerébe a systemrescue mappába. Az UBCD-t pedig a boot/tools al tettem be...
    Remélem segítettem!

  • bambano

    titán

    válasz Speeedfire #15489 üzenetére

    letöltöd a debian webről a másfajta bootolható médiát, azt kicsomagolod a pendrájvra, syslinuxszal raksz rá boot szektort és akkor jó lesz.

    bár nem teljesen értem, mert a mostani cd image-k bootolhatók szoktak lenni pendrájvról is.

  • hcl

    titán

    LOGOUT blog

    válasz Speeedfire #15489 üzenetére

    Csinálj egy olyat, hogy egy DOS-os bútolható pendrájvot akármiből, csak menjen, és arra egy Linux telepítőt ráhúzni valam bootolható gyártó progival. De ez akkor is meredek.
    (FAT32 filerendszert csináltál? Bár mondjuk nekem van EXT-es pendrive-om, amin Linux van :) )

Új hozzászólás Aktív témák

Hirdetés