You are not logged in.

#1 2013-08-02 16:38:23

arcon
Member
Registered: 2013-05-27
Posts: 128

[SOLVED]Problem updating child arch installation

Hey guys!!
Whenever i do pacman -Syu "especially for kernel update" everything stopped working "like X freezes even sysreq can't help"

And when i tried "uname -a",  what i see is " linux 3.9 " but it should be 3.10 that makes me wonder why??

I installed arch in sda1 first and from that installation i installed arch on other partitions, it goes like this

sda
   | - sda1 - arch - -----------------------------------------------
   | - sda2 - arch - after update everything hung up.     |
   | - sda3 - arch - same goes for this.                           |
   | - and so on.. -arch - same goes all these too          |
                                                                                      |
  why don't try to update this one(sda1) too - and you know what everything works fine in sda1 and after updating sda1 other installation also starts working.

My question here is -- Why is my other installations is dependent on my first installation, Can't they behave like independent installation??

Last edited by arcon (2013-08-06 10:25:47)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#2 2013-08-02 16:51:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Problem updating child arch installation

arcon wrote:

And when i tried "uname -a",  what i see is " linux 3.9 " but it should be 3.10 that makes me wonder why???

Did you reboot after installing the new kernel?

Offline

#3 2013-08-02 18:27:49

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

karol wrote:

Did you reboot after installing the new kernel?

Yes, that didn't work. It only worked after i update the kernel of sda1-arch "my first arch installation".

With every new kernel update i need to first update my sda1's kernel and then other installations work.

Last edited by arcon (2013-08-02 18:50:23)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#4 2013-08-02 18:56:18

stewie
Member
Registered: 2009-05-16
Posts: 20

Re: [SOLVED]Problem updating child arch installation

arcon wrote:

My question here is -- Why is my other installations is dependent on my first installation, Can't they behave like independent installation??

Are you sharing the same boot partition with the other installations?


We wants it, we needs it. Must have the precious. Arch Linux.

Offline

#5 2013-08-02 18:58:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Problem updating child arch installation

arcon wrote:

I installed arch in sda1 first and from that installation i installed arch on other partitions

Describe exactly what you did to install the other instances, that's too vague.

Just for my curiosity, why do you need multiple installs of Arch?

One more thing - thanks for the word "updation", it's awesome.

Last edited by tomk (2013-08-02 19:00:35)

Offline

#6 2013-08-02 19:02:25

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

stewie wrote:

Are you sharing the same boot partition with the other installations?

Nope, i didn't create a separate boot partition.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#7 2013-08-02 19:21:15

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

tomk wrote:

Describe exactly what you did to install the other instances, that's too vague.

Alright,

I installed arch in sda1 ->  then installed arch-install-scripts --> using cfdisk (sda2) -->

mnt sda2 at /mnt -->  pacstrap /mnt base --> *arch-chroot /mnt --> other random stuff -->

reboot & login (sda2) pacman -Syu(sda2) --> x freezes --> rebooted --> still freezes -->;og in to (sda1) -->

pacman -Syu (sda1) --> X works --> rebooted -->login (sda2) -->X works (WoW)

tomk wrote:

Just for my curiosity, why do you need multiple installs of Arch?

I'm just playing with it.

tomk wrote:

One more thing - thanks for the word

I make mistakes all the time hehe


EDIT:  * arch-chroot /mnt I didn't mentioned it before.

Last edited by arcon (2013-08-03 07:14:32)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#8 2013-08-02 19:40:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problem updating child arch installation

I think you'll need to elaborate in a little more detail.  What you are doing is far from typical - which is fine - but it means you'll need to help us understand what is happening.  In your list of what you did, your first "pacman -Syu" seems to be for the sda2 install ... or is it?  You didn't list any chroot.  Did you chroot into the sda2 system, or did you reboot and select the sda2 install from the boot loader?

Do you have the sda2, sda3, etc installations in your boot loader, or do you just chroot into them?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-08-02 20:32:16

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

Trilby wrote:

Do you have the sda2, sda3, etc installations in your boot loader, or do you just chroot into them?

Yes , I did pacman -Syu in sda2.
I installed as described in the installation guide smile Installations are in the boot loader( no chrooting )
- but one thing " i'm using syslinux as a bootloader "and while installing in sda2 i used (for boot loader part)

#extlinux -i /mnt/boot/syslinux #As described in wiki 

and simply copied the /boot/syslinux folder from sda1 to sda2(/mnt/boot/).

Last edited by arcon (2013-08-02 20:56:47)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#10 2013-08-02 20:48:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Problem updating child arch installation

... so you have syslinux.cfg from sda1 in sda2 (and 3, 4, etc). Why on earth did you do that?

Offline

#11 2013-08-02 20:55:50

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

tomk wrote:

... so you have syslinux.cfg from sda1 in sda2 (and 3, 4, etc). Why on earth did you do that?

Actually not syslinux.cfg, i deleted that one and others after copying the folder hehe, it is just sda2 /boot/syslinux {chain,menu}.c32
Another update to linux 3.10.4 and again that problem sad


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#12 2013-08-02 21:56:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED]Problem updating child arch installation

So you have one syslinux.cfg on sda1? What's in it?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#13 2013-08-02 22:20:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problem updating child arch installation

So you are chainloading to a partition that doesn't have it's own syslinux.cfg??  Again, you need to be *much* more explicit about how you've set up this system if you want any real help.

There are many ways one could set up side-by-side systems as you have described, without knowing what approach you take at best we'd be guessing.  And my guess is that you are actually booting a kernel off of a different partition than you intend to.

At minimum, we'd need to see the "main" syslinux.cfg that is on the partition that is pointed to by the MBR code, and details on the configuration of any other paritions that are chain loaded.

EDIT: I just double checked what I thought must be true, and I was right: you do need a /boot/syslinux/syslinux.cfg on every partition that you are using the way you have described so far.  If you don't have one, then you are not actually booting to that partition.

Last edited by Trilby (2013-08-02 22:23:49)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2013-08-03 00:23:00

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED]Problem updating child arch installation

Pardon me for being cynical, and I'm happy to let others try to help you, but "I'm just playing with it" doesn't seem like a very good reason for installing multiple copies of Arch and trying to control them all with syslinux (a bootloader that is not known for easily controlling multiple boot partitions). I know many people hate Grub2 for many reasons, but it's much better at easily booting and maintaining multiple installs, IMO. Obligatory "hehe" here. Good luck.

Last edited by 2ManyDogs (2013-08-03 00:23:58)

Offline

#15 2013-08-03 01:31:34

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED]Problem updating child arch installation

To expand on what Trilby said, syslinux is incapable of directly booting a kernel on a different volume. What it has to do is chain-load another, completely separate copy of syslinux.

In contrast to what 2ManyDogs said, I don't think there's any reason to disparage its use in a multiple /boot scenario. Chain-loading another syslinux is no more exotic or complicated than chain-loading windows. I've used my installed syslinux to chain-load a syslinux-bootable USB because one of my systems wouldn't boot to it directly.

Also, FWIW, I have two Arch installs on both my home and work machines, though in each case one is a cli-only 'recovery' install. I use a shared boot partition, and a n update script renames the kernel when it's updated.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#16 2013-08-03 06:54:10

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

Trilby wrote:

There are many ways one could set up side-by-side systems

I am not aware of other ways, i only know about chainloading in syslinux, i thought that's the only method??

As cfr and trilby asked for syslinux.cfg, here it is:

# Config file for Syslinux -

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt 
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
	MENU LABEL Arch Linux
	LINUX ../vmlinuz-linux 
	APPEND root=/dev/sda1 ro vga=773
	INITRD ../initramfs-linux.img

LABEL archfallback
	MENU LABEL Arch Linux Fallback
	LINUX ../vmlinuz-linux
	APPEND root=/dev/sda1 ro
	INITRD ../initramfs-linux-fallback.img


LABEL yoda
	MENU LABEL Yoda
	LINUX /boot/vmlinuz-linux
	INITRD /boot/initramfs-linux.img
	APPEND root=/dev/sda4 rw quiet 

LABEL naruto
	MENU LABEL naruto
	LINUX /boot/vmlinuz-linux
	APPEND root=/dev/sda2 rw init=/usr/lib/systemd/systemd 
	INITRD /boot/initramfs-linux.img

LABEL fixmyarch                       # I'm using this one currently
        MENU LABEL FIXMYARCH
        LINUX /boot/vmlinuz-linux
        APPEND root=/dev/sda7 rw quiet
        INITRD /boot/initramfs-linux.img

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32
 
LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32
 
LABEL off
        MENU LABEL Power Off
        COMBOOT poweroff.com
Trilby wrote:

you do need a /boot/syslinux/syslinux.cfg on every partition

I tried that one too, firstly with the above given syslinux.cfg and then again by creating a new syslinux.cfg (for partitions) as described in the wiki. Didn't work either.

Last edited by arcon (2013-08-03 07:12:02)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#17 2013-08-03 07:07:46

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

alphaniner wrote:

though in each case one is a cli-only 'recovery' install

That's it what i was trying to do "kinda" , but fall in honey trap trying to do so many things at once. smile


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#18 2013-08-03 11:33:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problem updating child arch installation

*headdesk*

So must of what you have told us so far was a lie.  You are *not* chainloading anything.  None of entries use chain.c32 and point to another partition.

If the entries other than sda1 work at all, they are still just booting the kernel and initramfs on sda1, but are just using a different root partition.  This can cause all sorts of problems depending on how fstab is configured in each of those other partitions.

Last edited by Trilby (2013-08-03 11:35:21)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#19 2013-08-03 17:51:46

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

Trilby wrote:

So must of what you have told us so far was a lie.

Sorry for creating all the fuzz, but trust me i wasn't lying i thought i was doing chainloading.

This was my previous syslinux.cfg

LABEL fix                       #sda1
        MENU LABEL fix
        COM32  chain.c32
        APPEND hd0 2
LABEL fix                      # sda2
        LINUX /boot/vmlinuz-linux
        INITRD /boot/initramfs-linux.img
        APPEND root=/dev/sda2 rw quiet vga=773

It gave me:

SYSLINUX 4.06 EDD

and when i used syslinux.cfg "post #16" everything worked fine then, there were no error so i wasn't aware of anything wrong.

But now i again created a partition and make an installation and everything's fine execpt i'm getting so many [microcode] lines with kernel panic in one of the line at startup and shutdown hangs.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#20 2013-08-03 18:09:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Problem updating child arch installation

It's still not clear at all what you have installed and configured on which partitions - but I do see one obvious error: hd0 2 points to /dev/sda3 - the "hd" partition numbers are zero-based - that should be hd 0 1 to point to sda2.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#21 2013-08-05 18:46:35

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: [SOLVED]Problem updating child arch installation

I've erased everything that was on my hardisk and installed archlinux over again(fresh install).

Problem: This new kernel 3.10.3-1 (i686) is not playing well (problem at startup and at shutdown)

my dmesg gave me this:

$ dmesg | tail
[    8.182818] Console: switching to colour frame buffer device 160x50
[    8.188913] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    8.188967] i915 0000:00:02.0: registered panic notifier
[   10.444231] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x5) (20130328/exoparg2-421)
[   10.444392] ACPI Error: Method parse/execution failed [\_SB_.PCI0.GFX0._DOD] (Node f5c28858), AE_AML_PACKAGE_LIMIT (20130328/psparse-537)
[   10.445183] ACPI Exception: AE_AML_PACKAGE_LIMIT, Evaluating _DOD (20130328/video-1254)
[   12.338259] acpi device:04: registered as cooling_device7
[   12.339317] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   12.339617] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input10
[   12.340437] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

These lines show up at  startup(before and after login--so many lines), and system hangs at "sudo " and at shutdown.

I think it is some kinda bug which is similiar to :

https://bugs.archlinux.org/task/36324?getfile=10811
https://bugs.archlinux.org/task/36324
https://bugs.archlinux.org/task/36323

EDIT: linux-lts saved me from all of the above problems.

Last edited by arcon (2013-08-06 10:25:24)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

Board footer

Powered by FluxBB