Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: installing lili or grub

  1. #1
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298

    installing lili or grub

    hi! I just blew up my mbr, and I want to use knoppix to reinstall lilo. but I get loads of permission denied and unable to open-errors. I can mount /dev/hda7, (my reiserfs linux root partition) but cant change hda's mbr... help??? how can I clean the mbr, and install a new one, using knoppix?

    btw: using lilo, it tells me: Fatal: unable to open /dev/hda: permission denied.
    all disks are set writable...

    please help!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: installing lili or grub

    Quote Originally Posted by Superstoned
    hi! I just blew up my mbr, and I want to use knoppix to reinstall lilo. but I get loads of permission denied and unable to open-errors. I can mount /dev/hda7, (my reiserfs linux root partition) but cant change hda's mbr... help??? how can I clean the mbr, and install a new one, using knoppix?

    btw: using lilo, it tells me: Fatal: unable to open /dev/hda: permission denied.
    all disks are set writable...

    please help!
    What command are you using it should be something like sudo chroot /mnt/hda7 /sbin/lilo -v after having mounted the /dev/hda7 as /mnt/hda7.

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    I'll try your command... (but I worked from a root shell, so sudo shouldnt be needed?)

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    yep yep: (using your command, all disks writable and mounted)

    Reading boot sector from /dev/hda
    Fatal: open /dev/hda: Permission denied

  5. #5
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    btw tnx for the reply

  6. #6
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    liloconf gives almost the same error:

    (...)
    Checking your /etc/lilo.conf for incompatible options...

    Install a boot block using your current LILO configuration? [Yes] y

    (...)
    Running lilo...
    (...)


    Reading boot sector from /dev/hda
    Fatal: open /dev/hda: Permission denied

    ERROR: correct /etc/lilo.conf manually and rerun /sbin/lilo

    (i use the lilo.conf that still was on my hd, which should work!?!?)

  7. #7
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    I've just tried lilo -M /dev/hda /mnt/hda7/etc/lilo.conf
    and this worked - at least, lilo told me: MBR updated. I hope this is enough... I'm goin' to reboot, hope it works. If not, I first get some sleep, work tomorow, and I'll be back next night...

    tnx for reply's

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by Superstoned
    yep yep: (using your command, all disks writable and mounted)

    Reading boot sector from /dev/hda
    Fatal: open /dev/hda: Permission denied
    sorry, just saw that.

    The trick is that things are mounted with nodev as default ...

    so you have to do as root:

    mount /dev/hdaX /mnt/hdaX
    chroot /mnt/hdaX
    lilo

    And it does work.

    Did not only me cost me nerves to find this out.

    cu

    Fabian

  9. #9
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    tnx! pitty I just formatted the disk, and am reinstalling... btw the new knoppix-iso is still giving troubles, a friend of mine told me he had to convert the file to a .bin, then back to iso - before he was able to burn it. there IS something wrong with the iso...

  10. #10
    Junior Member
    Join Date
    Sep 2003
    Posts
    4
    hi superstoned

    check this http://www.knoppix.net/forum/viewtop...?p=22656#22656
    I hope they see there is something wrong.
    or else we have a very strange problem which can fake md5

Page 1 of 2 12 LastLast

Similar Threads

  1. How can I install Knoppix without installing Lilo or Grub?
    By Mustang64 in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 05-18-2005, 12:32 PM
  2. Installing with Grub?
    By bonnyfused in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-21-2005, 02:00 AM
  3. Using knoppix to aid in installing GRUB on a HDD
    By brian in forum General Support
    Replies: 0
    Last Post: 01-17-2005, 05:59 PM
  4. Getting rid of Grub
    By fingers99 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 08-10-2003, 04:04 AM
  5. installing knoppix vs installing Linux from scratch
    By jza in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-03-2003, 11:30 PM

Posting Permissions

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


WD_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN picture

WD_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN

$119.99



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$117.99



Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B picture

Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B

$39.99



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G25 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G25

$129.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$9.99



Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD) picture

Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD)

$16.00



Intel DC S3510 Series 120GB SSD 2.5

Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K

$9.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$188.09