Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Booting Ubuntu on external hard drive?

  1. #1
    Join Date
    Feb 2012
    Beans
    11

    Booting Ubuntu on external hard drive?

    Hey guys!
    Wasn't sure which category this problem might fit best, so I settled on posting it here. I was wondering if it were possible for me to boot up the Ubuntu OS from my now external hard drive?

    You see, a few weeks ago my laptop decided to no longer work. (It turns on, but doesn't seem to actually do anything.) And because we couldn't figure out the problem, we decided to take out my hard drive, and make it external temporarily. Initially, there wasn't any pressing need for me to attempt to access it until now.
    Thing is though, I've never had to do this sort of thing before. And therefore have virtually no idea what I'm doing.

    If it's at all relevant, the computer that I currently borrow uses Windows 8. And my hard drive has two partitions on it. Ubuntu 12.04, and Windows 7.

    I would love to get back to using Ubuntu again, so help would be very much appreciated! ^^

  2. #2
    Join Date
    Oct 2008
    Location
    Tulsa,Ok
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Booting Ubuntu on external hard drive?

    HI,
    Is the hard drive now hooked upp usb? Or is still hooked up as normal just sitting outside the case?
    Is their more then one HD hooked up right now, working or not?
    Thanks Duane

  3. #3
    Join Date
    Aug 2006
    Location
    gypsy encampment
    Beans
    431
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting Ubuntu on external hard drive?

    I was wondering if it were possible for me to boot up the Ubuntu OS from my now external hard drive?
    IMPORTANT: Back up your data before doing anything else. You don't want to lose your data or your friend's data.

    Try going into your BIOS and set it to boot from USB before HDD. That way when it finds the bootable OS's on the USB HDD it will boot from there before it gets to the internal HDD. Of course, if your borrowed computer uses UEFI for boot and you old computer didn't, that will be another kettle of fish:

    https://help.ubuntu.com/community/UE...or_Legacy_mode

    If your borrowed computer uses UEFI, it looks as though you need the 64-bit version of Ubuntu if you have been using the 32-bit version. Be careful! Try not to make changes on the borrowed computer's HDD if you can.
    Last edited by MoebusNet; April 18th, 2013 at 03:12 PM.
    System76 Serval Pro 7: Ubuntu 14.04.1; Dell Latitude D800: Lubuntu 14.04.1

    Ubuntu problems? http://www.googlubuntu.com/

  4. #4
    Join Date
    Feb 2012
    Beans
    11

    Re: Booting Ubuntu on external hard drive?

    @duanedesign
    It is hooked up as USB now. The only other hard drive besides it would be the internal hard drive.

    @MoebusNet

    That is simple to do for the internal drive and my Windows 7 partition. But the computer cannot detect my Ubuntu partition. Is there a way for me to back up the data somehow despite that?
    The day before, we even made a bootable USB flash drive, to see if I could even get to my files. I could see the folders, but opening them only had it tell me I didn't have permission, so no files showed.

    Heh. That is indeed a different kettle of fish, as both of my partitions are 32-bit. And looking into the BIOS of this computer has mentioned UEFI. (It is 64-bit.)
    I'm trying to make sure that I don't mess with the borrowed computer too much. As they wouldn't like it one bit if I messed it up.

    Aside from that, I was curious to see what might happen if I tried to boot it up on a 32-bit Vista computer instead.
    Which trying to boot it up from there didn't seem to work. (Which I had a feeling that might happen.);

    error: unknown filesystem
    grub rescue >


    So, I won't mess with it any further, until I can get my Ubuntu files backed up.

  5. #5
    Join Date
    Aug 2006
    Location
    gypsy encampment
    Beans
    431
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting Ubuntu on external hard drive?

    Possibly this will help:

    http://ubuntuforums.org/showthread.php?t=2086054

    https://help.ubuntu.com/community/In...on/FromImgFile

    To avoid messing up your borrowed notebook's hard drive, you can boot from a Ubuntu Live-USB or Live-DVD and then access your files on the external HDD. The data files themselves don't care if you are running a 32-bit or 64-bit OS.

    QUESTION: Have you tried booting your old notebook from Live-USB or Live-CD/DVD to make sure it is truly dead (hardware) and not just a messed-up OS? I'd try to diagnose the old one when you get the time.
    If it is dead, you need to be shopping for your own notebook if you can't get your old one going again. That way you minimize the chances of borking your borrowed notebook.
    System76 Serval Pro 7: Ubuntu 14.04.1; Dell Latitude D800: Lubuntu 14.04.1

    Ubuntu problems? http://www.googlubuntu.com/

  6. #6
    Join Date
    Aug 2006
    Location
    gypsy encampment
    Beans
    431
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting Ubuntu on external hard drive?

    The other way to go about this is from the Window 8 end, but that has drawbacks:

    http://ubuntuforums.org/showthread.php?t=2080028

    oldfred mentions that Win8 does not support ownership or permissions for Linux filesystems.

    But if you just want to view the files without making changes, maybe:

    http://sourceforge.net/projects/ext2read/

    Just be aware that writing to your Ubuntu ext3 or ext4 filesystem from Windows can cause corruption and/or loss of data, because of Windows' lack of support.
    System76 Serval Pro 7: Ubuntu 14.04.1; Dell Latitude D800: Lubuntu 14.04.1

    Ubuntu problems? http://www.googlubuntu.com/

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting Ubuntu on external hard drive?

    To repair Windows you need a Windows repairCD with the same 32bit or 64 bit version.

    You should be able to repair Ubuntu with a liveDVD or Flash drive, but again best to be same version. Newer may work depending on repairs or you have to chroot into your install and repair it internally.

    As posted above backup is the most important first task.

    Post the link to the BootInfo report that this creates. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.
    Install in Ubuntu liveCD or USB or Full RepairCD with Boot-Repair (for newer computers)
    http://sourceforge.net/p/boot-repair/home/Home/
    https://help.ubuntu.com/community/LinuxSecureRemix
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Feb 2012
    Beans
    11

    Re: Booting Ubuntu on external hard drive?

    @MoebusNet

    Right, I do have a Live-USB. Which I mentioned I had already used to see if I could get to the files on my Ubuntu partition.
    The first time I used the Live-USB, it did mount the Ubuntu partition, but I lacked permission to actually see/do anything beyond the folders that I kept on the Desktop.

    I assume that was probably my best opportunity to get those files backed up, had I figured out how to obtain permission. Since for some odd reason, when using the Live-USB now, it looks like it's not even mounting my Ubuntu partition. Just the Windows partition like usual. So I don't know what that's all about, or what I should do...

    Any idea if something can be done now so I can backup my Ubuntu files? ^^;

    QUESTION: Have you tried booting your old notebook from Live-USB or Live-CD/DVD to make sure it is truly dead (hardware) and not just a messed-up OS? I'd try to diagnose the old one when you get the time.
    If it is dead, you need to be shopping for your own notebook if you can't get your old one going again. That way you minimize the chances of borking your borrowed notebook.
    I actually never thought to try that. So I did, but the attempt seemed futile. As not even the Live-USB worked. (Which is a shame...)
    Eventually, I do intend to get myself a new computer. But that won't happen for a while, unfortunately.


    @oldfred

    I'll have to find out if we even have a repair CD for Windows. Even though my Windows partition isn't exactly a huge priority at the moment for me.

    As I've mentioned, I have a Live-USB. But now I can't seem to get to my Ubuntu partition like I could the first time. =/

    I also got the Boot Info report, so here are the results;
    http://paste.ubuntu.com/5722274/

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting Ubuntu on external hard drive?

    It shows it could not mount sdc5, your Linux partition.

    Often abnormal shutdown can cause corruption. And a fsck can fix it.

    #From liveCD so everything is unmounted,swap off if necessary, change example shown with partition sdc5 to your partition(s)
    #e2fsck is used to check the ext2/ext3/ext4 family of file systems. -p trys fixes where response not required
    sudo e2fsck -C0 -p -f -v /dev/sdc5
    #if errors: -y auto answers yes for fixes needing response see man e2fsck
    sudo e2fsck -f -y -v /dev/sdc5
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Feb 2012
    Beans
    11

    Re: Booting Ubuntu on external hard drive?

    Oh. That would explain a lot, I guess. Haha...
    Anyways. The first e2fsck command didn't seem to work for my Ubuntu partition. So I tried the second one.
    After waiting, this was what it told me.

    *** journal has been re-created - filesystem is now ext3 again ***

    /dev/sdc5: ***** FILE SYSTEM WAS MODIFIED *****

    690396 inodes used (9.54%)
    1636 non-contiguous files (0.2%)
    614 non-contiguous directories (0.1%)
    # of inodes with ind/dind/tind blocks: 0/0/0
    Extent depth histogram: 617179/299/1
    13882941 blocks used (47.99%)
    0 bad blocks
    0 large files

    505937 regular files
    94620 directories
    55 character device files
    24 block device files
    0 fifos
    4294966993 links
    89755 symbolic links (72833 fast symbolic links)
    3 sockets
    --------
    689786 files

Page 1 of 3 123 LastLast

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
  •