Results 1 to 6 of 6

Thread: Grub2 persistent partition

  1. #1
    Join Date
    Oct 2006
    Location
    US of Texas
    Beans
    375
    Distro
    Ubuntu Development Release

    Grub2 persistent partition

    Hi all, I've read and read & am still no smarter. I've tried to make a persistent partition(one that mounts whenever I boot/login). Either I don't have the right file or syntax, I've given up and need help. Please tell me exactly which file to edit and the proper syntax to put there. The partition on my machine I want to do this for is "sdb2" uuid "02f5852a-c3e2-47e8-b1dd-93592f1f87ee" label "archives"
    Any help will be greatly appreciated, I'm almost bald now...LOL!
    Randy aka: randiroo76073
    Home brewed:
    ASUS-M2A-VM-mATX/AMD-64x2 5600/6gb-DDR2-PC6400/ATI Radeon 4650
    Some ask Y.....I say Ynot!

  2. #2
    Join Date
    Jan 2007
    Location
    Ridgeland WI US
    Beans
    464
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Grub2 persistent partition

    What do you mean?
    mount during boot as in /etc/fstab?
    GRUB2 always on the same partition?
    Gigabyte GA-MA790GPT-UD3H - AMD Phenom II x3 720 - 8 GB RAM - 2009 - My first PC from parts!

  3. #3
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub2 persistent partition

    I assume that the drive will be attached at boot time. To mount the drive automatically add a line to the /etc/fstab (Make a backup before modifying it)

    The line would be something like this:
    Code:
    UUID=02f5852a-c3e2-47e8-b1dd-93592f1f87ee /DirToMountAt ext4 defaults 0  2
    Just replace the "/DirToMountAt" with the location you want it to be mounted, the directory should be empty. Also if the filesystem is not ext4 you will have to change the ext4 in the line to match the filesystem on the drive.

  4. #4
    Join Date
    Oct 2006
    Location
    US of Texas
    Beans
    375
    Distro
    Ubuntu Development Release

    Re: Grub2 persistent partition

    Thanks very much for the help Hawkmage, I was getting short tempered with the wall on this one...LOL!
    Randy aka: randiroo76073
    Home brewed:
    ASUS-M2A-VM-mATX/AMD-64x2 5600/6gb-DDR2-PC6400/ATI Radeon 4650
    Some ask Y.....I say Ynot!

  5. #5
    Join Date
    Oct 2006
    Location
    US of Texas
    Beans
    375
    Distro
    Ubuntu Development Release

    Re: Grub2 persistent partition

    I'm not sure why, but that infomation doesn't show up in any of the tutorials I've read or threads/posts either. I had gathered from when Grub2 first came out that it didn't pay any attention to fstab anymore, which,in my interpretation made fstab irrelevant.
    Randy aka: randiroo76073
    Home brewed:
    ASUS-M2A-VM-mATX/AMD-64x2 5600/6gb-DDR2-PC6400/ATI Radeon 4650
    Some ask Y.....I say Ynot!

  6. #6
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub2 persistent partition

    Because it has nothing to do with Grub at all. Grub is the boot loader while the /etc/fstab is what is used during the init process to get all of the services up and running.

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
  •