Results 1 to 10 of 10

Thread: lilo command not working for karmic coala live CD

Threaded View

  1. #1
    Join Date
    Aug 2013
    Beans
    4

    lilo command not working for karmic coala live CD

    Hi,
    Actually this belongs to the following thread http://ubuntuforums.org/showthread.php?t=1009707
    But as that thread is closed I have started this as a new thread.
    Mine is a MSI Laptop and I have the ubuntu karmic coala (9.10) version.
    My OSs are kind of gone through a lot and I am starting afresh.......So I am going for ms-sys & lilo to fix my MBR with Ubuntu Live CD option...
    Here are the errors I get for ms-sys & lilo

    Code:
    ubuntu@ubuntu:~$ sudo apt-get install ms-sys
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Couldn't find package ms-sys
    ubuntu@ubuntu:~$ cd ms-sys
    ubuntu@ubuntu:~/ms-sys$ make
    mkdir -p dep
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/br.d src/br.c > dep/br.d
    mkdir -p obj
    mkdir -p bin
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/br.o src/br.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat12.d src/fat12.c > dep/fat12.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat12.o src/fat12.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat16.d src/fat16.c > dep/fat16.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat16.o src/fat16.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat16fd.d src/fat16fd.c > dep/fat16fd.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat16fd.o src/fat16fd.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat32.d src/fat32.c > dep/fat32.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat32.o src/fat32.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat32fd.d src/fat32fd.c > dep/fat32fd.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat32fd.o src/fat32fd.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/fat32nt.d src/fat32nt.c > dep/fat32nt.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/fat32nt.o src/fat32nt.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/file.d src/file.c > dep/file.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/file.o src/file.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/identify.d src/identify.c > dep/identify.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/identify.o src/identify.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/main.d src/main.c > dep/main.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/main.o src/main.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/nls.d src/nls.c > dep/nls.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/nls.o src/nls.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/ntfs.d src/ntfs.c > dep/ntfs.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/ntfs.o src/ntfs.c
    cc -MM -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -MT dep/partition_info.d src/partition_info.c > dep/partition_info.d
    cc -O2 -ansi -pedantic -Wall -c -I inc -D PACKAGE=\"ms-sys\" -D LOCALEDIR=\"/usr/local/share/locale\" -idirafter include-fallback -D_FILE_OFFSET_BITS=64  -o obj/partition_info.o src/partition_info.c
    cc -o bin/ms-sys obj/br.o obj/fat12.o obj/fat16.o obj/fat16fd.o obj/fat32.o obj/fat32fd.o obj/fat32nt.o obj/file.o obj/identify.o obj/main.o obj/nls.o obj/ntfs.o obj/partition_info.o 
    
    mkdir -p mo
    msgfmt -o mo/sv.mo po/sv.po
    make: msgfmt: Command not found
    make: *** [mo/sv.mo] Error 127
    ubuntu@ubuntu:~/ms-sys$ make install
    install -D -m 755 bin/ms-sys /usr/local/bin/ms-sys
    install: cannot create regular file `/usr/local/bin/ms-sys': Permission denied
    make: *** [/usr/local/bin/ms-sys] Error 1
    ubuntu@ubuntu:~/ms-sys$ sudo fdisk -l
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xbab21f87
    
     Device Boot      Start         End      Blocks   Id  System
    
    /dev/sda1   *           1        5099    40957686    7  HPFS/NTFS
    /dev/sda2            5100       19430   115113757+   f  W95 Ext'd (LBA)
    /dev/sda5            5100       10198    40957686    7  HPFS/NTFS
    /dev/sda6           10199       15297    40957686    7  HPFS/NTFS
    /dev/sda7           15298       18944    29294496   83  Linux
    /dev/sda8           18945       19430     3903763+  82  Linux swap / Solaris
    
    ubuntu@ubuntu:~/ms-sys$ sudo ms-sys -m /dev/sda1
    sudo: ms-sys: command not found
    ubuntu@ubuntu:~$ sudo apt-get install lilo
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
     mbr
    Suggested packages:
    lilo-doc
    The following NEW packages will be installed:
    lilo mbr
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 413kB of archives.
    After this operation, 1,315kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Err http://archive.ubuntu.com karmic/main mbr 1.1.10-2
    Could not resolve 'archive.ubuntu.com'
    Err http://archive.ubuntu.com karmic/main lilo 1:22.8-8ubuntu1
    Could not resolve 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo....10-2_i386.deb  Could not resolve 'archive.ubuntu.com'
    Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu1_i386.deb  Could not resolve 'archive.ubuntu.com'
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    ubuntu@ubuntu:~$ sudo lilo -M /dev/sda1 mbr
    sudo: lilo: command not found
    ubuntu@ubuntu:~$


    What can I do?I cannot use net while in Ubuntu because my mobile broadband connection provider's ubuntu package on installation is showing errors.whatever I am trying to install it shows errors...help
    Thnx
    bha
    Last edited by oldos2er; August 5th, 2013 at 11:42 PM. Reason: added code tags

Bookmarks

Posting Permissions

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