You are not logged in.
I created a backup of my ssd using a live usb of arch. After the back up I was unable to dual boot on either disk (internal disk and external disk (copy)). I chrooted into my arch linux installation using the same live usb and re-installed grub. After I re-installed grub I was able to dual boot again but now the slider from the battery icon; the Xfce Display brightness, stopped working. Can this be a result of the grub re-installation?
this is my /etc/default/grub file:
$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi="
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
$
this is the output of /sys/class/backlight
$ ls /sys/class/backlight/
acpi_video0 intel_backlight
Offline
I created a backup of my ssd using a live usb of arch.
Please post the exact commands that you used to accomplish this.
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi="
The "acpi_osi=" parameter is no longer used.
Try one of these instead:
https://wiki.archlinux.org/index.php/Ba … ne_options
EDIT: Please also post the commands used to re-install GRUB.
Last edited by Head_on_a_Stick (2016-02-10 15:22:01)
Jin, Jîyan, Azadî
Offline
Hi Head_on_a_Stick
Below is the commands I ran to create a backup of my disk:
the internal ssd is /dev/sda
the external (once the original ssd with windows 10 and arch linux) is /dev/sdc
root@archiso~# dd if=/dev/zero of=/dev/sda bs=2M
dd: error writing /dev/sda: No space left on device
122100+0 records in
122099+0 records out
256060514304 bytes (256 GB) copied, 479.946 s, 534 MB/s
dd if=/dev/zero of=/dev/sda bs=2M 0.16 user 133.70 system 27% cpu 7:59.96 total
root@archiso~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
sdb 8:16 1 14.6G 0 disk
sdb1 8:17 1 663M 0 part /run/archiso/bootmnt
sdb2 8:18 1 31M 0 part
sdc 8:32 0 119.2G 0 part
sdc1 8:33 0 450M 0 part
sdc2 8:34 0 99M 0 part
sdc3 8:35 0 16M 0 part
sdc4 8:36 0 69.9G 0 part
sdc5 8:37 0 20G 0 part
sdc6 8:38 0 10G 0 part
sdc7 8:39 0 18.8G 0 part
loop0 7:0 0 288.7M 1 loop /run/archiso/sfs/airootfs
root@archiso~# dd =if/dev/sdc of=/dev/sda bs=2M conv=noerror,sync
61052+1 records in
61053+0 records out
12837421056 bytes (128 GB) copied, 518.142 s, 247 MB/s
dd if=/dev/sdc of=/dev/sda bs=2M conv=noerror,sync 9.31s user 112.12s system 23% cpu 8:38.15 total
root@archiso~# eject /dev/sdc
root@archiso~# eject /dev/sda
eject: /dev/sda: is not hot-pluggable devie
root@archiso~# shutdown 0 now
When the laptop shutdown, I unplugged the 128GB ssd, and the live usb of arch. The laptop booted into windows automatically. I booted into the UEFI menu and the only entry in the boot menu was the windows partition. However when I mounted the EFI volume in windows, I could see the arch_grub folder. I went ahead and re-installed grub.
to re-install grub I used arch-chroot:
# mount /dev/sda/5 /mnt
# mount /dev/sda2 /mnt/boot/efi
# mount /dev/sda6 /mnt/home
# arch-chroot /mnt
$ grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
$ grub-mkconfig -o /boot/grub/grub.cfg
I did not take a picture of the output results of grub-mkconfig so I do not have the output. But if I remember correctly, the windows partition was not picked up by grub but I was able to boot into grub and then load arch linux. Once I logged into arch, I ran the command "grub-mkconfig -o /boot/grub/grub.cfg" and I was able to see the windows partition. I rebooted and I was able to see windows in the grub menu.
[user@user-arch]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for user:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
done
I'm not sure if this can be part of the issue, but I updated arch since the original installation, so I'm not sure if perhaps an older version of grub was installed? I installed arch linux about 3 weeks ago. Its a relatively new install I did of windows 10 and arch.
I also tried the below commands following a reboot, with no luck. For example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=vendor"
# grub-mkconfig -o /boot/grub/grub.cfg
# reboot
acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
acpi_backlight=none
Offline
There may have been a kernel regression in respect of backlight support for your hardware.
Try the LTS kernel instead.
https://www.archlinux.org/packages/?q=linux-lts
It's not at all critical but I'm curious -- why have you mounted the EFI system partition to /boot/efi?
I see a lot of users do this but the Beginner's Guide suggests mounting the ESP to /boot instead (this is a more flexible solution)
Jin, Jîyan, Azadî
Offline
I do not understand, why use UEFI on a hard drive partition ssd msdos, someone explains it to me?
because with the in gpt partition with dd can not cloning.
Last edited by newbie1962 (2016-02-17 09:40:27)
hp-envy dv7
Offline