Re: relabel
by Patrick Dupre
Hello Chris,
> >
> > I am back with you.
> > Thinking about your suggestion.
>
> How did you clone it? Did you use cp? Did you use rsync? What was the exact command?
>
>
> > I generate a file: /boot/grub2/grub.cfg
>
> Did you use chroot at all?
Yes I did
That is, did you mount the clone's parts, bind the dev, proc, sys file system, and then chroot the clone, and then from within chroot
Yes I did
did you grub2-install,
No, because it change the mbr and then going to use the clone grub.cfg. And I did not
when to do it because teh clone works. Am I wrong?
grub2-mkconfig, and run dracut?
YEs
>
> > If I understand (I guess) the point in generating a new initramfs, I do not
> > see the point in generating a new grub.cfg file since it is not seen
> > during the grub2 precessing since the grub.cfg file used in on the
> > cloned partition until a make a new grub2-install /dev/sda
> > from the clone.
>
> That's why you chroot the clone, then run all of these commands, otherwise they do not produce correct results for the clone.
>
>
> > Anyway, in my opinion, the issue is when grub executes:
> >
> > menuentry 'Fedora, with Linux 3.12.5-200.fc19.i686.PAE' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12.5-200.fc19.i686.PAE-advanced-69ee06ed-3f6a-4b9f-9b86-6e24c1847cf6' {
> > set gfxpayload=text
> > insmod gzio
> > insmod part_msdos
> > insmod ext2
> > set root='hd0,msdos16'
> > if [ x$feature_platform_search_hint = xy ]; then
> > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos16 --hint-efi=hd0,msdos16 --hint-baremetal=ahci0,msdos16 --hint='hd0,msdos16' c2010fed-5fcf-4c59-bca9-10922b131d8b
> > else
> > search --no-floppy --fs-uuid --set=root c2010fed-5fcf-4c59-bca9-10922b131d8b
> > fi
> >
> > because the clone partition is not correct.
> > Something is missing:
> > failed to start creat static device mode in /dev
> > failed to start journal
> > etc...
> >
> > To me looks like that the services are not started!!!
> > how the /dev partition is created?
>
> The clone is on another drive? And is that drive in the same computer or a different computer?
Same drive
clone
/boot on /dev/sda16
/ on VolGrpSys3-root
cloned
boot on /dev/sda6
/ on VolGrpSys2-root
>
> Chris Murphy
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: failed to ..
by Patrick Dupre
> ----- Original Message -----
> From: Chris Murphy
> Sent: 12/28/13 02:33 AM
> To: Community support for Fedora users
> Subject: Re: failed to ..
>
> On Dec 27, 2013, at 6:02 PM, "Patrick Dupre" <pdupre(a)gmx.com> wrote:
>
> > Hello,
> >
> > After I clone a / partition I cannot boot it.
>
> Exactly how did you clone it? Did you update fstab and rebuild the initramfs?
As I said, the clone as been created from another distribution
the cp -a /boot_cloned and /boot_clone (when partition not active).
I created a new initramfs, but as I said the problem seem to appear before
the:
linux /vmlinuz-3.12.5-200.fc19.i686.PAE root=/dev/mapper/VolGrpSys3-root ro vconsole.keymap=fr rd.dm=0 rd.md=0 rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=VolGrpSys3/root
initrd /initramfs-3.12.5-200.fc19.i686.PAE.img
I am saying so because, if replace the clone by the cloned partition, I get the same
errors.
In my opnion, the error is here:
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos16 --hint-efi=hd0,msdos16 --hint-baremetal=ahci0,msdos16 --hint='hd0,msdos16' c2010fed-5fcf-4c59-bca9-10922b131d8b
else
search --no-floppy --fs-uuid --set=root c2010fed-5fcf-4c59-bca9-10922b131d8b
fi
or earlier!!
Please note that /dev/sda16 and UUID=c2010fed-5fcf-4c59-bca9-10922b131d8b are the
same partition
> Chris Murphy
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: relabel
by Patrick Dupre
Hello Chris,
I am back with you.
Thinking about your suggestion.
I generate a file: /boot/grub2/grub.cfg
and
a file initramfs
but these files are on the clone.
If I understand (I guess) the point in generating a new initramfs, I do not
see the point in generating a new grub.cfg file since it is not seen
during the grub2 precessing since the grub.cfg file used in on the
cloned partition until a make a new grub2-install /dev/sda
from the clone.
Anyway, in my opinion, the issue is when grub executes:
menuentry 'Fedora, with Linux 3.12.5-200.fc19.i686.PAE' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12.5-200.fc19.i686.PAE-advanced-69ee06ed-3f6a-4b9f-9b86-6e24c1847cf6' {
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos16'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos16 --hint-efi=hd0,msdos16 --hint-baremetal=ahci0,msdos16 --hint='hd0,msdos16' c2010fed-5fcf-4c59-bca9-10922b131d8b
else
search --no-floppy --fs-uuid --set=root c2010fed-5fcf-4c59-bca9-10922b131d8b
fi
because the clone partition is not correct.
Something is missing:
failed to start creat static device mode in /dev
failed to start journal
etc...
To me looks like that the services are not started!!!
how the /dev partition is created?
What do yo think?
Regards.
> On Dec 25, 2013, at 5:48 PM, Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> > Hello,
> >
> > I wanted to clone my distribution fedora 19, I used to do it with
> > previous release but I failed with fedora 19.
> >
> > I copy (-a) the partition / (lvm2) and /boot (ext4)
>
> You probably need to remake the initramfs. The easiest way to do all of this after the cp -a of everything is to put together the clone at /mnt such that you have /mnt as rootfs, then /mnt/boot, and then use mount -B to mount the faux file systems, /proc, /dev/, /sys at their respective locations, /mnt/proc, /mnt/dev, /mnt/sys. Then chroot /mnt.
>
> Now blkid to find the uuids for /boot and /, and change fstab so that it's mounting the right volumes. Use dracut -f to make a new initramfs. And then grub2-mkconfig -o /boot/grub2/grub.cfg to make a new grub.cfg.
>
> If you started out with a system with correct labels, the cp -a will preserve them as it implies -Z so fixfiles/restorecon isn't needed.
>
> Chris Murphy
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
failed to ..
by Patrick Dupre
Hello,
After I clone a / partition I cannot boot it. I get 3 errors:
failed to start create static modes in /dev
failed to start journal service
failed to open pack file: permission denied.
The last one seems to be the more serious one. However, it may due to the
previous ones.
Thank for your help.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
fedup to F20 but did not switch from kdm to sddm
by Frédéric Bron
I ran fedup from F19 to F20 without any trouble.
I was excited to discover sddm but kdm came back as before.
I then installed sddm with yum but kdm still came.
I the tried
$ system-switch-displaymanager sddm
but got that answer:
The graphical display manager sddm is not supported yet.
How am I supposed to do to switch to this new destop manager?
Frédéric
10 years, 4 months
f20 - acrobat reader where are thou?
by Robert Moskowitz
OK, where did it go?
I downloaded and installed: adobe-release-i386-1.0-1.noarch.rpm
From this I get: adobe-linux-i386.repo
This gave me flash-plugin and in the past AdobeReader but now no reader.
I did a google search and came up empty. Any tips?
10 years, 4 months
Freezing mouse cursor in 19
by Frank McCormick
I have noticed the pasts few weeks the mouse cursor freezes whenever
I watch youtube videos in chrome. I am running the same Chrome version
in Debian Sid and it doesn't happen when I am running that distro.
The mouse cursor remains in one place but as I move the mouse
around I can see that it's hovering over other things.
This is happening with a wireless/keyboard/mouse combo, but it also
happened with a regular keyboard/mouse combo so I don't think it's
wireless related.
Has anyone encountered this problem. I am running the latest
kernel vmlinuz-3.12.6-200.fc19.i686 and the system is updated.
It's a Dell Optiplex 745 with 2 gigs with stock Intel Video
Maybe it's a flash problem ???
Thanks
10 years, 4 months
Copy game to USB stick -
by Bob Goodwin
Can someone recommend a procedure for copying a Windows game cd to a USB
flash drive with my Fedora 20 system. My grandson has a new HP computer
and game however he has no CD drive to install it with. I would gain
some status if I can come to the rescue!
Thanks,
Bob
--
http://www.qrz.com/db/w2bod
Box10 Fedora-20/64bit Linux
10 years, 4 months
screwed up a drive (i think)!
by bruce
Hi.
I have a 640G drive I put back in a laptop, that now is showing up in
the "File System" as a vg_dell45 icon, as well as showing up under the
disk utility as a "Multi-disk Device" The drive didn't appear in these
areas before.
Here's the situation:
-Took the drive out of the laptop
-Inserted the drive into a usb external bay, copied a bunch of files
to a separate system
-Before copying the drive, I ran the "vgchange -ay" cmd to be able to
access the different partitions on the drive and copy the data
-the initial system is an old FC13, the newer system is a Centos6.5
-after copying, I then reinserted the drive back in the initial FC13 system.
-everything boots, appears to run
-however, when I look at the GUI File System/Disk Uility apps, I get
what I mentioned above...
I then did a fdisk -l and I see that the drive no longer appears to
contain valid partition tables!!!
So, something has happened. Researching doesn't point to anything, so
I'm looking for pointers as to the bonehead screwup I did, as well as
how to correct it.
Here's the output of the fdisk -l
[root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x28000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes
255 heads, 63 sectors/track, 999 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes
255 heads, 63 sectors/track, 9790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes
255 heads, 63 sectors/track, 10834 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table
[root@dell-1 ~]# vgchange -ay
5 logical volume(s) in volume group "vg_dell45" now active
[root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x28000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes
255 heads, 63 sectors/track, 999 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes
255 heads, 63 sectors/track, 9790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes
255 heads, 63 sectors/track, 10834 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table
here's the df -h for what it's worth..
[root@dell-1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dell45-lv_root
247G 188G 46G 81% /
tmpfs 2.9G 356K 2.9G 1% /dev/shm
/dev/sda1 485M 66M 394M 15% /boot
/dev/mapper/vg_dell45-lv_apps
148G 91G 50G 65% /apps
/dev/mapper/vg_dell45-lv_home
74G 616M 70G 1% /home
/dev/mapper/vg_dell45-lv_backup
82G 7.3G 71G 10% /backup
So, how can i get this back to normal!
Thanks
10 years, 4 months
What happened to 'play' command line music player?
by Edik Landaveri
Please, can you tell me why I can't find the 'play' command line music player. It used to be on the Fedora repositories 'till a few releases ago. Was it outdated & not developed anymore? I liked it because it just let me play my ogg files on the fly without even going to runlevel 5.
If it's no longer developed? It's something similar? Not CMUS or higher end one, which allows you to build playlists and the like. My music is on ogg format so I just one a simple command line music player. Thanks a lot & Happy New Year.
--
Edik Landaveri <elwanka(a)gmail.com>
10 years, 4 months