Results 1 to 2 of 2

Thread: Knoppix-installer w/no bootloader???

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Location
    Knoxville TN USA
    Posts
    18

    Knoppix-installer w/no bootloader???

    Having successfully installed Knoppix using kpx-install, I decided to try an install with knoppix-installer.

    Well, everything went well until I came to the bootloader screen. No matter what I tried, i couldn't get to allow me to simply install none and make a bootdisk.

    Where am I going wrong? Last time I tried Linux, I had a lot of trouble wiht Wxx after using LILO (GRUB worked better). This time, I want *nothing* done to my Wxx drive; Linux is on a completely different HDD and I want to keep it that way until I can get rid of Redmond for good (my wife is terrified of change

    Any suggestions?

    TIA/Fader

  2. #2
    Do you have an expendable install on a secondary PC? There's a couple of scary things I learned by trying them slowly and carefully on actively used machines that I could have learned much faster on a test computer. Other than the usual scarecrow(d) called partitioning, also backing up and restoring the Master Boot Record is a very useful trick to learn. NOT INDISPENSIBLE, but it gives you peace of mind.

    Basically,

    - the info that tells the OS where and what type the partitions are and what is the "partition table", which is in bytes 447-512 of the 1st sector of a HD

    - the executable code called bootloader (or boot manager, or boot selector, if designed to boot MORE THAN ONE operating system), is in the first 446 bytes of the same sector

    - however, if an OS can boot from other that the 1st partition of the HD, the bootloader can be injected in the 1st sector of the partition it's intended to boot.

    Debian uses lilo by default, and (normally) gives you the option to install it in the MBR or in the boot sector of the Debian partition. You say you can't do that, and also that you don't want to mess the MBR as it is now.

    With Windows 9x, messing with the MBR is not usually a problem, as you can restore the original MBR by booting with a floppy, go to C:\, and issue the command

    fdisk /mbr

    or something similar

    The alternative trick, easily done in Knoppix, is to back up the MBR.

    You need to mount a floppy or your Windows partition (man mount) and use dd (man dd) and copy the MBR onto a file there. You do NOT need to mount the 1st partition to copy / restore the MBR of that HD - you only need to have the device mounted read-write IF YOU WANT TO READ THE BACKUP FILE FROM / WRITE THE BACKUP FILE ON IT.

    I assume your floppy is /dev/fd0 (mounted on /mnt/floppy) and your HD is /dev/hda.
    MBR-backup is the filename of the backup.

    The dd commands I use are these:

    to back up:
    dd if=/dev/hda of=/mnt/floppy/MBR-backup bs=512 count=1

    to restore:
    dd if=/mnt/floppy/MBR-backup of=/dev/hda bs=512 count=1

    If I want to leave the partition table alone, I use bs=446 instead, as the partiton table is in the last 66 bytes of the MBR.

    I think something similar can be done with a bootloader that is in the boot sector of a single partition (/dev/hda3 for example) but I'm not so sure.

    Backing up the MBR is the first thing I do BEFORE and AFTER an install. I give the various backups descriptive names, of course!

    One word of caution re. Knoppix:
    If you boot the live CD, you have read/write access only to a temporary file system in RAM. If you are not careful in REALLY mounting the device you want to write to in read/write mode, you risk making a nice backup into ****RAM****, and you know what will happen to it once you shutdown!

    For example, if you create the directory /mnt/bogus, and you THINK you have mounted say /dev/hda1 (Windows partition) on /mnt/bogus but you have not, if you do
    dd if=/dev/hda of=/mnt/bogus/MBR-backup bs=512 count=1
    the data will end up in RAM, not in C:\MBR-backup. Endless fun! :-)

    Once you do the dd it's a good idea to unmount /dev/hda1, check that the file has disappeared from /mnt/bogus, then (if u're anal retentive) remount and see if it has reappeared.

    That's why I advocate getting a cheap PC for trying out weird stuff. Just bef. Xmas I got my self a nice 130-Euro Piii-500MHz-128MB-8GB, which is now my official guinea pig, and will become my home server one day.

Similar Threads

  1. Install Knoppix to HD without installing a bootloader
    By idris1388 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-12-2005, 11:39 AM
  2. Install Knoppix with Bios Bootloader
    By Capiora in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 09-21-2004, 02:34 PM
  3. no BootLoader with knoppix 3.4
    By mschievano in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-12-2004, 06:34 PM
  4. Bootloader Fun & Games (GRUB, Knoppix, Win2k)
    By displaced in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-24-2003, 05:26 PM
  5. bootloader question for win98, Mandrake and Knoppix
    By NewbieEd in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-20-2003, 02:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Memory SNPPKCG9C/8G A7990613 8GB 2Rx8 DDR3 RDIMM 1600MHz RAM picture

Dell Memory SNPPKCG9C/8G A7990613 8GB 2Rx8 DDR3 RDIMM 1600MHz RAM

$49.95



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$15.85



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



G.SKILL Trident Z RGB 16GB 2x 8GB 3200MHz DDR4 Desktop RAM F4-3200C16S-8GTZR picture

G.SKILL Trident Z RGB 16GB 2x 8GB 3200MHz DDR4 Desktop RAM F4-3200C16S-8GTZR

$38.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$39.95



Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.95



Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT picture

Corsair Vengeance 32GB 16GB 8GB DDR3 1600MHz 1866MHz 2133MHz 2400MHz Memory LOT

$79.99