[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving /boot to another partition

From: Andrei Borzenkov
Subject: Re: Moving /boot to another partition
Date: Tue, 11 Oct 2016 23:39:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

11.10.2016 21:13, Martin пишет:
> Hi Grub-Team, I have ubuntu 16.04 and my /boot directory has become
> too small (only 150MB) so I want to move it. For this I need some
> help. I asked in and, but nobody could
> help.
> /boot is on a separate ext4 partition with 150MB. "/" is on a btrfs
> partition with 40GB.
> My thoughts how to solve this:
> -create /boot2 on btrfs -copy all files from /boot to /boot2 -unmount
> /boot -rename /boot2 to /boot -run grub-install /dev/sdb5   # ?
> I'm not sure about the device for grub-install. Is it the device
> where the grub partition is (sdb1) or is it the device where /boot is
> (sdb5)?

It depends where grub is currently installed. What is output of

debconf-show grub-pc

> Here ist the output of parted -l:
> Model: ATA Samsung SSD 750 (scsi) Disk /dev/sdb: 120GB Sector size
> (logical/physical): 512B/512B Partition Table: gpt Disk Flags:
> Number  Start   End     Size    File system     Name      Flags 1
> 1049kB  316MB   315MB                   bios      bios_grub 2
> 316MB   473MB   157MB   ext4            boot 3      473MB   8862MB
> 8389MB  linux-swap(v1)  swap 5      8862MB  50,6GB  41,8GB  btrfs
> root 4      50,6GB  120GB   69,2GB  btrfs           home 6      120GB
> 120GB   210MB   fat32           exchange  msftdata
> This is what dpkg tells about grub2:
> ii  grub2-common                  2.02~beta2-36ubuntu amd64
> GRand Unified Bootloader (common files for version 2)
> I do not use UEFI boot.
> Thank you very much for helping, Martin
> _______________________________________________ Help-grub mailing
> list address@hidden 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]