Author Topic: Ubuntu 15.10 LiveUSB  (Read 3535 times)

0 Members and 2 Guests are viewing this topic.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Ubuntu 15.10 LiveUSB
« on: June 04, 2016, 08:26:12 pm »
Hi/Hello.

Old face here.

I've been trying to use my LiveUSB as my Windows boot partition seems to have just disappear/deactivated for whatever reason (that, it in itself, is a whole other topic). I was going to recover it using the LiveUSB, however I'm having great difficulty.

When booting the LiveUSB, lightdm will start Unity, however it'll then restart and I have no Unity. I'm able to right click and enter whatever folders are on the desktop, however I have no window manager. Shucks.

I'm on the Wily distro atm, and was looking to know if this was a driver issue? I believe it's just the noveau drivers, but I honestly cannot remember.

The USB is setup to have an allocated space for saving apps and things. (Can't remember the technical name, sorry.)

I'm currently launching programs from terminal because I remember a few commands from the old days. (These days I've sadly been forced to update to Windows 10).

Please help, thanks.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16921
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #1 on: June 05, 2016, 01:30:20 pm »
So what happens if you run:
Code: [Select]
sudo service lightdm restart
?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #2 on: June 05, 2016, 10:00:32 pm »
Already tried that, as well as:

Code: [Select]
sudo service gdm restart

I gave up and just installed Ubuntu to a spare HDD that I had in the PC but didn't use.

Everything went well, had everything Linux side of things work, till about 10 mins ago when my PC just randomly shut down. Thought this may have been due to overheating, so I checked the BIOS and CPU was only at 65°C.

Then when I booted up, I was presented with this: 😞



Having to send this from my phone.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #3 on: June 05, 2016, 10:39:30 pm »
Ok, I'm currently booted up into the LiveUSB again.

Here's the output from:

Code: [Select]
sudo fdisk -l

(click to show/hide)


/dev/sda = Spare 500GB HDD
/dev/sdb = Ubuntu Install (Mount point is root, with 8GB swap partition)
/dev/sdc = Another spare 500GB HDD
/dev/sdd = My SDD (contains the bootloader for GRUB, and Win10 installation)
/dev/sde = My 2TB Back-up drive

Currently I'm not able to mount any of the NTFS drives. I'm able to mount my Ubuntu install however.

Seems like if I can fix the MBR then I should be able to boot right?

******

EDIT: So I've been trying to fix the MBR myself. I remembered that from last nights attempts I had installed LILO to try and fix the Windows bootloader, of course this failed. Nevertheless, I found a thread on the Ubuntu forums with someone suggesting to run:

Code: [Select]
sudo lilo -M /dev/sdXX mbr


where XX is my Windows install, in this case, /dev/sdd.

So I ran it, however this has overwritten grub.

In an attempt to fix this, I tried to reinstall grub from the LiveUSB. So I ran the follow commands:

Code: [Select]
sudo mount /dev/sdb2 /mnt
Code: [Select]
sudo mount --bind /dev /mnt/dev
Code: [Select]
sudo mount --bind /proc /mnt/proc
Code: [Select]
sudo mount --bind /sys /mnt/sys
Code: [Select]
sudo chroot /mnt
Code: [Select]
grub-install /dev/sdb

I then pressed CTRL+D to exit the root terminal. Then unmounted all the drives, using:

Code: [Select]
sudo umount /mnt/dev
Code: [Select]
sudo umount /mnt/proc
Code: [Select]
sudo umount /mnt/sys
Code: [Select]
sudo umount /mnt

I then restarted, and was still prompted with the Windows broken bootloader. So I guess I've installed grub to the wrong drive?  :-\
« Last Edit: June 05, 2016, 11:31:16 pm by BkS »
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #4 on: June 06, 2016, 12:56:39 am »
So at this point, I seem to have made the LiveUSB read-only??

It will not start up at all. I can only drop to the console using ctrl+alt+f1, etc.

I'm not entirely sure how I've done this as I've not done anything since my last edit.

Here's some photos of the error I get. I have no way of knowing if I'm going to be able to recover the LiveUSB. I may just need to use a computer at work and reinstall the LiveUSB ISO.







:(
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16921
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #5 on: June 06, 2016, 04:09:40 pm »
a) Which drive is set as the primary boot device in the BIOS

b) What's the output from:
Code: [Select]
sudo fdisk -l

c) what's the output from:
Code: [Select]
sudo blkid

d) are you able to boot Ubuntu on the HDD .. or are you getting that "no such device" grub error ?

e) am I right in assuming the goal here is to get GRUB from the Ubuntu install to also chainload Win10 ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #6 on: June 08, 2016, 08:50:23 pm »
Hey man,

First command returns the same output I've listed before.

Running the second gives the output below. I've also attached a video for what happens during boot.



Video here: https://www.flickr.com/photos/xbks/27270377590/in/dateposted/
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16921
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #7 on: June 08, 2016, 09:21:47 pm »
If you sit at the GRUB menu for about 1 minute before hitting "Enter" to boot, do you still get that error about the missing UUID ?

BTW, I can't see that video .. the link just takes me to a Yahoo login page.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #8 on: June 09, 2016, 09:17:59 am »
No I dont, as I said, I installed LILO which replaced GRUB. So all I have when I boot from my SSD is the windows bootloader.

The problem I'm having is my Live USB is read-only.

If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16921
  • Karma: 426
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #9 on: June 11, 2016, 12:58:20 am »
Sorry mate I know sod all about LILO.

What's stopping you recreating the LiveUSB and reinstalling GRUB ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1690
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Ubuntu 15.10 LiveUSB
« Reply #10 on: June 11, 2016, 02:32:22 am »
I tried reinstalling GRUB several times from LiveUSB. Eventually I got my disc drive to work, and found a Peppermint 2 LiveCD, as my USB was playing up.

I installed GRUB to the Windows drive, but GRUB just wouldn't recognise the disc.

I gave up, and found my Win7 disc. Reinstalled Windows 7 now. Will do a fresh wipe of the other drive, and reinstall Lubuntu at some point. For now I'll get by.

Thanks anyway!
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal