Puppy Linux TEENpup - No Boot directory ? Want to install GRUB

Discussion in 'Linux' started by itsmemario1, Nov 8, 2015.

  1. itsmemario1

    itsmemario1 MDL Senior Member

    Sep 10, 2012
    264
    23
    10
    #1 itsmemario1, Nov 8, 2015
    Last edited: Nov 8, 2015
    Ahoy,

    I installed TEENpup (full not frugal) and it works very well.
    On rebooot (or power on) I get this message and then it boots into TEENpup without problems.

    boot1.jpg

    So I thought, why not add Grub from within TEENpup. But it seems I dont have a boot directory ?! :confused:
    So how to install grub / add a boot directory ?

    nogrub1.jpg

    And how would I set the mounted sda1 to read & write ? Or is there another (easy) possibility ?
     
  2. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    523
    30
    #2 Skaendo, Nov 8, 2015
    Last edited: Nov 8, 2015
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. itsmemario1

    itsmemario1 MDL Senior Member

    Sep 10, 2012
    264
    23
    10
    #3 itsmemario1, Nov 9, 2015
    Last edited: Nov 9, 2015
    (OP)
    I dont think any development is done to TEENpup anymore, no.

    On the grub installer via terminal I do :

    grub
    root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
    install

    Then I get :
    Error 1: Filename must be either absolute pathname or blocklist

    All other tries :

    install /dev/hda
    install /dev/hda1
    install /dev/sda
    install /dev/sda1

    Give a
    Error 15: File not found


    fdisk -l says

    Disk /dev/sda: 2048 MB, 2048285024
    233 Heads, 63 sectors/track, 249 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 249 2000061 83 Linux


    Im confused :g:


    parted /dev/sda print
    gives no error

    Model: ATA 2GB ATA Flash Di (scsi)
    Deisk /dev/sda: 2048MB
    Sector size (logical/physical): 512/512B
    Partition Table: msdos

    Number1
    Start 32,3kb
    End 2048MB
    Size 2048MB
    Type primary
    File system ext2
    Flags boot



    Installed grub to dev/sda via the usb live stick.

    Grub shows up, enlisting linux on sda1


    kernel /boot/vmlinuz root=/dev/sda1 ro vga=791

    Error 15: File not found

    So yes, vmlinuz is not in boot direcotry yet...geee, copying... will this ever end ;)

    Copied vmlinuz to boot...now I get a blackscreen after GRUB, choosing sda1.

    Doing a fresh install now.
     
  4. John Sutherland

    John Sutherland MDL Addicted

    Oct 15, 2014
    543
    722
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. itsmemario1

    itsmemario1 MDL Senior Member

    Sep 10, 2012
    264
    23
    10
    #5 itsmemario1, Nov 9, 2015
    Last edited: Nov 10, 2015
    (OP)
    Thank you, its the fault of that nice tutorial why Im trying TEENpup :)


    Update :

    I deleted the MBR:

    dd if=/dev/zero of=/dev/sda bs=512 count=1

    I did another fresh install (standard menu mode for Grub! Using graphic modes for grub failed to continue showing any further graphics and threw you in VESA mode+kernel panic), using the adviced mbr.bin for the (empty) MBR.


    Everything is working now. :clap: