copied orig. bootpartition 3times by gparted for modification/testing can only boot into orig partition properly (with coreboot)

10 respostas [Última entrada]
justlooking
Desconectado
Joined: 03/11/2014

Hello,

I just used gparted to copy my only original boot partition sda1 to sda2,3,4 all with ext4 and same size on same ssd. I wanted to modifiy my trisquel in 2,3,4 in diffrent ways. Booting sda1 works like before but I dont know what I have to change that I can boot the other (2,3,4) with coreboot properly. While starting in coreboot is an option to recognize all partitions and to choose and boot one of these partitions. If I boot 2 or 3 or 4 its booting randomly into 2,3,4.. its sometimes little funny to boot as often as it needs to get the right one.

If I boot manually

linux (ahci0,msdosx)/vmlinuz (x=2,3,4)
initrd (ahci0,msdosx)/initrd.img
boot

there is later this stop with "initramfs" in booting.

hope there is some little thing to add or change

GustavoCM

I am a member!

Desconectado
Joined: 11/20/2012

I don't get what you are trying to do. The /boot partition is only for booting, will not "modify" the system...

justlooking
Desconectado
Joined: 03/11/2014

sorry, I was wrong.

I installed trisquel on sda1 and wrongly called this "bootpartition" maybe due to my windows history.

I meant I copied the whole installed system which I had installed on sda1 to new created partitions sda2,3,4

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

What have you done exactly? "Copying sda1 onto sda2,3,4" does not mean much! Do you have four times the same content in all four partitions? If so, that is a pretty weird thing to do and I do not understand why you would not erase three of them (and extend the running partition with the liberated space).

justlooking
Desconectado
Joined: 03/11/2014

yes, I did this. I copied it 4 times and had at first 4 times same content.

But then I used sda2,3,4 to install package which I dont want to have on my system where Im acting carefully. I realized that it happen package issues when Im using some package needed for special things. And so I wanted to try this on these copies.

Copying was very convienent because can fist install trisquel only 1-times with firewall and basic things and then I have it maybe 10 times for testing.

I dont understand why this is weird because its so easy and when I use small partition like 15 gb then today there is enough space. I really want to know whats the problem at booting a copy with coreboot.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Well, I would guess that the number of people on earth with four times Trisquel installed on the same disk must be one: you. In that sense, it is weird.

I guess you have already tried to run 'sudo update-grub' from the running system, haven't you?

justlooking
Desconectado
Joined: 03/11/2014

ok, no I wasnt sure and dont had tried this. Now I ve done it on sda1. But sda2,3,4 still boot random into 2,3,4.

Eventually I maybe made a mistake to run it on sda4 to see what happens. It is still same.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Don't you want to go the easy way, installing the distribution on each partition (sda2, sda3 and sda4), one by one? After all, an installation takes something like 20 minutes. And you do not have to stay idle (you can use the live system during the install).

I assume you have already a separated /home partition that should be common to all systems. So, if you follow the way I propose, do not forget to specify that with at the "custom partitioning" step. And double check that you did not ask for the erasure of that partition! You also want to double check that you properly spelled the (same) user name and the (same) password every time.

In fact, for security, I would personally not specify the /home partition (everything in /) and, after the installations, edit the /etc/fstab files of all three systems.

justlooking
Desconectado
Joined: 03/11/2014

yes, I think this copy and paste is not the solution on same disk. Im going to try to install it. No, I just copied it and changed nothing. I need to think about your post some more days to understand.

justlooking
Desconectado
Joined: 03/11/2014

off topic: is it possible to edit my wrong words on this topic?

lembas
Desconectado
Joined: 05/13/2010

It's not possible to edit the first post.