Hi everyone,
I’ve edited my HDD partition using Gparted. The swap partiton, which was /dev/sda6, has become /dev/sda7.
I’ve edited /etc/fstab and **/etc/default/grub **then run grub-mkconfig (PS: I use GRUB2). But when I ran /sbin/mkinitrd, “resume device” remained /dev/disk/by-id/ata-…-part6(/dev/sda6)
By editing which document can I change that:question:
Thanks
On 2014-03-25 11:56, ABGDEZHI wrote:
>
> Hi everyone,
>
> I’ve edited my HDD partition using Gparted. The swap partiton, which was
> /dev/sda6, has become /dev/sda7.
>
> I’ve edited /etc/fstab and */etc/default/grub *then run grub-mkconfig
> (PS: I use GRUB2). But when I ran /sbin/mkinitrd, “resume device”
> remained /dev/disk/by-id/ata-…-part6(/dev/sda6)
>
> By editing which document can I change that:question:
I think you edited the right ones. Maybe you missed an entry. Check
again. Or post them here for us to check.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Could you paste output of mkinitrd? In tags code, please.
That information is also in “/etc/sysconfig/bootloader” (as DEFAULT_APPEND). I’m not quite sure what uses that, but you could try changing it there.
On 2014-03-25 21:06, nrickert wrote:
>
> ABGDEZHI;2632817 Wrote:
>> I’ve edited /etc/fstab and */etc/default/grub *then run grub-mkconfig
>> (PS: I use GRUB2). But when I ran /sbin/mkinitrd, “resume device”
>> remained /dev/disk/by-id/ata-…-part6(/dev/sda6)
>
> That information is also in “/etc/sysconfig/bootloader” (as
> DEFAULT_APPEND). I’m not quite sure what uses that, but you could try
> changing it there.
I believe that one is used by grub 1 only.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Hello,
Thanks all for your reply. It turns out that simply reboot my laptop after running grub-mkconfig then run mkinitrd, and the “resume device” is changed!


Why do most of my stupid questions submitted here end up settled accidentally by myself?:shame:
On 2014-03-29 00:46, ABGDEZHI wrote:
>
> Hello,
>
> Thanks all for your reply. It turns out that simply reboot my laptop
> after running grub-mkconfig then run mkinitrd, and the “resume device”
> is changed!
Strange. It should not be that complex.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)