Announcement

Collapse
No announcement yet.

I want to fix some pkg's manually how do i boot from a USB to my Kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I want to fix some pkg's manually how do i boot from a USB to my Kubuntu

    My OS's kernel i currently in a panic state so it won't boot neither in recov nor the prev vers modes, i thought maybe i can access with a USB boot bot i want to be sure before i even try it so pals please give me some instructions.

    Oh and btw please give me some hints and suggestion how can i fix here i have the pic attached (and not it's not me who created this situation and yes the dude on the pic takes the credits

    Thanks in advance
    Attached Files

    #2
    The basic steps are:
    1. boot the livecd/usb
    2. mount the drives you need (most people do i to /mnt) in the same structure as when you boot
      ie mount / at /mnt /boot at /mnt/boot and /home at /mnt/home (though /home is not normally needed)
    3. mount the spical directory:
      Code:
      sudo mount --bind /dev /mnt/dev
      sudo mount --bind /sys /mnt/sys
      sudo mount --bind /proc /mnt/proc
      sudo mount -t tmpfs tmpfs /mnt/tmp
    4. if you need network access connect to the network and copy /etc/resolv.conf
      Code:
      sudo cp /etc/resolv.conf /mnt/etc/
    5. chroot into the target system
      Code:
      sudo chroot /mnt
    6. what ever you do now will affect the installed system not the livecd so install what you need, fix what you need then press ctrl+d to exit out the chroot
    7. unmount what you mounted and reboot


    Note that you should use the same architecture (32bit or 64bit) livecd as the installed system.
    Last edited by james147; Oct 22, 2012, 11:03 AM.

    Comment


      #3
      Roger that, on my way many thnx

      Comment

      Working...
      X