Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: btrfs would not install on USB hard drive

  1. #11
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    6,040
    Distro
    Xubuntu

    Re: btrfs would not install on USB hard drive

    USB memory sticks generally have an MBR just the same as ordinary hard disks. In this case, you have sdb1, sdb2 etc.

    But it is possible to format a USB stick raw: mkfs.vfat /dev/sdb and it mounts just as a partition would. I think windows users wouldn't see any difference. Not sure what happens under Linux, and I don't have a spare to experiment with about my person. But I have used non-mbr sticks in the past.

  2. #12
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Quote Originally Posted by grahammechanical View Post

    @ventrical

    A question. Does a USB memory stick/disk have an MBR? I know it is possible to install grub to the so-called MBR of a external USB drive but where does it go? Is it like installing grub into a partition? Do we need a small non btrfs partition on a USB stick/drive? That's more than one question. Sorry. I think that you are doing relevant research because very large USB drives are becoming common. Sooner or later some person is going to think of the benefits of btrfs for large data collections and want to use it.
    I must confess that my last attempt was nothing but lame. I used this 32GB new ver 3.0 USB Flash Drive but it has a firmware widget in it. I tried to erase it. It is 1kb big . geesh .. but Iv'e not given up!! Iv'e been up to my elbows with the funky broadcom blacklists that has really pi$$ed me off on some production machines.

    Anyways .. first things first .. i am going to take one of my persistent installs and try to convert it to btrfs. The best usb flash to use is Dane brand. Eveything else (kingston especially) is no match .
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  3. #13
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Quote Originally Posted by grahammechanical View Post
    @ventrical

    I found this comment



    in this thread

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

    It is about doing a re-install over an existing Ubuntu with combined /home partition and without formatting. I wonder if the real issue is the failure to install Grub into the MBR? Another area to test?

    Regards.
    Thanks .. I'm just getting to it now.

    That http://ubuntuforums.org/showthread.p...0#post12704390 was a brilliant essay btw
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  4. #14
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    I have just tried re-install saucy+btrfs without re-formatting the partition.

    First attempt=failure. Ubiquity crashed oh so nicely as it was part way through the installing system section.

    Second attempt=success. The difference? In the first attempt i run Ubiquity from the Try + Install Ubuntu text mode screen. In the second attempt I ran it from a live desktop session.

    I did notice one thing strange. During the second attempt I was used for user details, as normal. But I cannot remember being asked for those details during the first attempt. The installer went from the partitioner to copying files without wanting user details. I am sure of this.

    Anyway even though this was the latest saucy daily build a reboot did not get me to the log in screen. So, I install saucy on Ext4 and it rebooted without any hassle. I am beginning to lose my faith in the marriage of saucy and btrfs. Too late for a divorce?

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #15
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    I have a current install in progress going on with a 16GB USB flash drive. I took the harddrive out and decided to burn a DVD and boot from there. I made 1 -1mb partition (logical) and a 2 GB ext4 (logical) . The rest for btrfs on raring. If that boots up and works then I'll see if I can grab other snapshots from other machines. Also upgrade to saucy and see what happens !
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  6. #16
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Quote Originally Posted by grahammechanical View Post
    I have just tried re-install saucy+btrfs without re-formatting the partition.

    First attempt=failure. Ubiquity crashed oh so nicely as it was part way through the installing system section.

    Second attempt=success. The difference? In the first attempt i run Ubiquity from the Try + Install Ubuntu text mode screen. In the second attempt I ran it from a live desktop session.
    This has been going on since Oneric. Actually , the case used to be that you had to use the SDC from the icon in the Unity Panel. That was the only way to get it to work. Looks like Ubiquity has regressed backwards once again.
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  7. #17
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Quote Originally Posted by grahammechanical View Post
    @jerrylamos

    I must have been almost brain-dead when I asked about USB MBR. I think a USB hard disk is a standard hard disk with a USB interface to the motherboard. So, it would have a normal MBR. And as I think about it Solid State Disks (SSD) must also have a place for the boot system (MBR/EFI) otherwise we could not install onto them. I am just not sure about USB memory sticks. And yet it is possible to install Grub onto an USB stick. Just not on btrfs, it seems.

    Please disregard my befuddled musings.
    Success here !!

    I have successfully installed (the raring final) with the btrfs format on a USB flash drive (Dane Brand-16GB). It is very , very slow but it boots up to lighdm, log on and then Unity 3d is there .. etc..

    What I did.

    Acer Extensa 4420 AMD dual core.

    Remove SATA hard drive.

    Burn raring-desktop-i386.iso to DVD using Brasero.

    Set PC to boot from DVD/CD drive.

    Insert DVD and USB flash memory stick.

    Choose 'Install Ubuntu' from Ubiquity.

    When partitioning options come up choose 'Something Else'

    Erase all partitons.

    Make a 1mb ext4 "Logical" partion.

    Next, make a "Primary" btrfs partition (but leave about 2 GBs for the third partion.) Mark the primary btrfs partion as / root.

    Ignore messages about ext4 partitons not having any designations.

    Ignore messages about swapspace. (do not make a swapspace partion IMHO)

    <continue> install

    After the install is complete it is buisness as usual. The only caveat is that btrfs is very , very slow on USB flash drives so wait, wait , wait for the 'Error sparse , press any key to continue'. It will boot up. I have run into a bug already from firefox (script error) so try these methods at your own risk.

    edit:

    The logic why.

    My theory is that the physical hard drive has to be out and the network to the USB flash Drive has to be clean. Using the DVD/CD drive somehow tricks ubuntu partitoning/install tools to actually think that the USB flash drive is a physical HDD because the network path/s to the USB are clear. I have tired this with many formats and I have found it always best to remove the hdd. Also .. There could be a bug from USB to USB install because there may be some noise on that network preventing the btrfs from installing on USB flash memory sticks.

    my 2 cents worth.
    Last edited by ventrical; June 25th, 2013 at 08:10 PM.
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  8. #18
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Here are some interesting screenshots from that install.
    Attached Images Attached Images
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  9. #19
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    @grahammechcanical

    Notice that 1% of 1 MB being used?
    Attached Images Attached Images
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

  10. #20
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    8,338
    Distro
    Ubuntu Development Release

    Re: btrfs would not install on USB hard drive

    Here we go attemtping to take a snapshot and then trying to move it to another btrfs system.

    Code:
    ventrical@ventrical-Extensa-4420:~$ sudo apt-get install apt-btrfs-snapshot
    [sudo] password for ventrical: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      apt-btrfs-snapshot
    0 upgraded, 1 newly installed, 0 to remove and 313 not upgraded.
    Need to get 7,852 B of archives.
    After this operation, 97.3 kB of additional disk space will be used.
    Get:1 http://ca.archive.ubuntu.com/ubuntu/ raring/universe apt-btrfs-snapshot all 0.3.4.1 [7,852 B]
    Fetched 7,852 B in 0s (28.4 kB/s)             
    Selecting previously unselected package apt-btrfs-snapshot.
    (Reading database ... 154648 files and directories currently installed.)
    Unpacking apt-btrfs-snapshot (from .../apt-btrfs-snapshot_0.3.4.1_all.deb) ...
    Setting up apt-btrfs-snapshot (0.3.4.1) ...
    ventrical@ventrical-Extensa-4420:~$ sudo -i
    root@ventrical-Extensa-4420:~# apt-btrfs-snapshot supported
    Supported
    root@ventrical-Extensa-4420:~#
    Code:
    root@ventrical-Extensa-4420:~# sudo apt-get install htop
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      htop
    0 upgraded, 1 newly installed, 0 to remove and 313 not upgraded.
    Need to get 67.7 kB of archives.
    After this operation, 189 kB of additional disk space will be used.
    Get:1 http://ca.archive.ubuntu.com/ubuntu/ raring/universe htop i386 1.0.2-1 [67.7 kB]
    Fetched 67.7 kB in 0s (185 kB/s)
    Supported
    Create a snapshot of '/tmp/apt-btrfs-snapshot-mp-5vmxan/@' in '/tmp/apt-btrfs-snapshot-mp-5vmxan/@apt-snapshot-2013-06-25_16:00:22'
    Selecting previously unselected package htop.
    (Reading database ... 154660 files and directories currently installed.)
    Unpacking htop (from .../archives/htop_1.0.2-1_i386.deb) ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for gnome-menus ...
    Processing triggers for man-db ...
    Setting up htop (1.0.2-1) ...
    root@ventrical-Extensa-4420:~#
    Last edited by ventrical; June 25th, 2013 at 09:01 PM.
    This is Convergence
    Ubuntu Development Version Testing Blog Remarks
    Running 16.04 on Mobo: MSI model: B85-G41 PC Mate(MS-7850) v: 1.0

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

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
  •