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, 5 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, 5 months
live usb
by Patrick Dupre
Hello,
I am trying to create a bootable pen stick.
for super_grub2_disk_hybrid_2.00s1-beta6.iso
and rescatux_cdrom_usb_hybrid_i386_amd64-486_0.31b5_sg2d.iso
I tried liveusb-creator. However, every time I get:
There was a problem executing the following command: `checkisomd5
while the md5 file is at the same location
if I use md5sum then it is OK.
Probably because this error, any thing is copied on the key
(only a label Live).
Is there another alternative?
Thank.
===========================================================================
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, 5 months
Change locale globally (f20)?
by Michael Hannon
Greetings. I evidently did not pay enough attention when I recently
installed Fedora 20 on my desktop system, as my system appears to be set
for the GB locale. E.g.,
$ env | grep LANG
LANG=en_GB.utf8
GDM_LANG=en_GB.utf8
Likewise, the following:
$ cd /etc
$ find . -type f -exec grep "GB" {} /dev/null \;
gets a gazillion hits.
This leads to some undesirable behaviour/behavior. My spell checker
(hunspell) was using British spellings, for instance.
I've mitigated the problem by adding:
LANG="en_US.utf8"
export LANG
to my .bash_profile, but I wonder if there's some way to change the setting
globally, i.e., from GB... to US... Any thoughts? Thanks.
--Mike
10 years, 5 months
Auto OS Install Process
by bruce
Hi,
In order to do an OS install, you need to have an external media to
start the install process. This media provides a "base"/small system
that you can then use to do a larger netinstall, or a larger update
process to get the drive/system setup the way you want. All of the
larger system install data/packages/etc can come from the http/net
install process.
In most (all) cases I've seen, the process is then to take/remove the
CD from the system, followed by a restart, where the system OS on the
drive then gets invoked.
So this process requires some manual interaction.
Here's my question:
Is there a way to do the same basic process, except to always leave
the CD in, and to then be able to "switch" the system, so it "knows"
which media to install from.
If this can be done, one can setup a system with a basic cd that will,
when run, create/start the basic OS install, but then not be used any
other time... This could allow for an auto/programatic approach to be
able to do a remote/auto OS install.
Is there any other way that this might be accomplished?
Thoughts/Comments?
thanks
10 years, 5 months
gedit as root now locks desktop hard
by Robert Moskowitz
Again, after a bunch of tweaking, I needed to edit a system config file,
so sued, and ran "gedit file.conf &" and the desktop locked hard. Only
option was a power off via the switch. I rebooted and after logging in,
just opened a terminal, sued, and opened gedit and locked hard.
This was working nicely before I did all that tweaking. Perhaps one of
the extensions or how do I look for this. It is too painful to test...
10 years, 5 months
Screen lock stopped working
by Robert Moskowitz
I have been doing a lot of customizing (tweaking) of Gnome on f20. Now
screen lock <cntl-alt-l> does not work. I can still lock with the
action button on the topbar pull down. I don't see this in tweaking.
Where might I have mis-set it?
10 years, 5 months
bumblebee fun
by Robert Dady
Hi everyone!
Merry Christmas!
I have successfully installed bumblebee on my F20 laptop according to
https://fedoraproject.org/wiki/Bumblebee.
I use my laptop mostly as xen server with F20 dom0, and in this setup
optirun fails with error accessing seconary GPU and secondary X server, but
it works fine when F20 booted natively without xen.
Any idea?
Best regards,
Robert
10 years, 5 months
Re: relabel
by Patrick Dupre
Hello Chris,
Thank for your help.
I did exactly like you said, but the result is the same as before.
I am sure that the issue is with the initramfs.
According to the tests that I made. it is probably due to the /boot
which is not found
However, how can I know exactly what is going on?
I try to uncompress the new img, but it does not work
cpio -i -d -H newc -F ../initramfs-3.12.5-200.fc19.i686.PAE.img --no-absolute-filenames
cpio: premature end of file
This the grub.cfg generated:
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' {
(this UUID is correct: new /)
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos16'
(this is correct: new /boot)
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
(this is the UUID of the new /boot)
else
search --no-floppy --fs-uuid --set=root c2010fed-5fcf-4c59-bca9-10922b131d8b
fi
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=VolGrpSys2/root
(this is bizarre: it should be:
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
why? VolGrpSys2/root is the cloned /)
initrd /initramfs-3.12.5-200.fc19.i686.PAE.img
}
How can I check each step?
Thank.
> > 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, 5 months
Kmail and QP
by Martin S
I have one contact that uses an email client that sends everyting in QP-
encoded. Unfortunately she is also one of the more important contacts I have.
Apparently KMail chokes on these messages and displays nothing (apart from a
boilerplate message which isn't QP encoded).
How do I get KMail to read these abominations?
I've been googling but not finding anything.
/Martin S
10 years, 5 months