Re: [CentOS] USB install annoyances (not OT)
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: Tuesday, 10 January, 2012 09:48 To: CentOS mailing list Subject: Re: [CentOS] USB install annoyances (not OT) snip Unless someone has the explicit answer to what is the image, or directory, the install.img wants to mount to get the repo, please don't reply. mark Mark, The Anaconda installer Python script is what has (re)mounted the partition at /mnt/isolinux, and Anaconda is looking for the next image to load from the /images/ directory on the DVD (or ISO). My DVD shows the following candidates: boot.iso diskboot.img minstg2.img stage2.img Most likely what is missing on the (USB) installation media is either that entire directory /images/ or one of the '.img' files. After formatting the partitions, Anaconda is probably looking for the 'stage2.img' file to unpack a basic core for the root filesystem so that the package manager (rpm)has enough of a filesystem available to put files in. Cheers! Simba Engineering ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: Tuesday, 10 January, 2012 11:44 To: CentOS mailing list Subject: Re: [CentOS] USB install annoyances Darr247 wrote: But this thread's gotten way OT: *does* anyone have any idea what the .img file is that the running o/s from install.img is looking for, after the partitioning, when it's ready to install? Possibly, but without the info I previously requested, I won't be trying to reproduce the problem. e.g. the source file[s] and command[s] used to make your bootable USB stick. I started by listing that: 1. I have a partitioned USB stick, 8G, with a 10M FAT32 partition, and the rest as ext3. 2. Rsync'd isolinux to the FAT partition, renamed isolinux.cfg to syslinux.cfg 3. syslinux to the USB 4. mounted DVD.iso, and rsync'd all of that to the ext3 partition. 5. mounted the second DVD, and rsync'd Packages/* to the Packages directory already there, and so have a 1 DVD, effectively, on the USB. But the question is what image# 1 that it's looking for? It's not trying to look on the USB for an .iso, is it? mark Ah! Take a look at the README in the /images/ directory on the DVD media. The diskboot.img file is a VFAT filesystem image that can be written to a USB pendrive or other bootable media larger than a floppy. Note that booting via USB is dependent on your BIOS supporting this. It should be written to the device using dd. diskboot.img will be the bootable filesystem (for your 10M FAT32 partition). Even tho you rsync'ed (copied) files over, there may be additional pieces missing (for example, the boot block) that are not contained as files per se. Checking the 'diskimage.img' with the file utility identifies the file type as: x86 boot sector, code offset 0x58, OEM-ID mkdosfs, sectors/cluster 4, root entries 512, sectors 24576 (volum es =32 MB) , Media descriptor 0xf8, sectors/FAT 24, heads 64, serial number 0x4d9277bd, label:, FAT (16 bit) It may contain another filesystem after that, but the very first part is a bootblock. Think of 'diskboot.img' as the /boot partition and 'stage2.img' as the / (root) partition, for the Linux operating system environment in which the installer runs. The installer runs in a text-mode for a little bit, but switches over to a graphical (or near-graphical) version on the second stage (where you will see all the packages being installed). The graphical version of the installer relies on this second stage heavily, as the filesystem contains most of the libraries (and all of the fonts) required to run X/Windows environment. Poking around the DVD media, shows a kernel (vmlinuz) and an initrd.img in the /isolinux directory, but very little else to actually run a Linux operating system (X/Windows, and the command line shell interpreters). The second stage contains a pre-built root filesystems that contains the bare minimum to get a system up and running so that RPM can operate, as well as a minimal X/Windows environment for the graphical version of the installer, LVM and other partitioning tools. It may even contain files that are not copied over to the hard drive but are required by the installer itself to run. Hope this helps explain it :-) Cheers! Simba Engineering ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On Tuesday, January 10, 2012 17:53 [UTC -5], Darr247 spake thusly: I did not see that synopsis in your original post (and I'm not sure I could figure out what commands you used by that). The only 2 replies to this thread I saw in digest 84 issue 9 were to John Doe. Anyway, this is what I have in my notes, though I see you've marked this as solved... mostly assuming sdb as the USB device. From blank USB stick to bootable install: yum install livecd-tools syslinux dd if=/dev/zero of=/dev/sdb bs=512 count=1000 parted /dev/sdb mklabel msdos parted /dev/sdb mkpartfs p ext2 0% 100% tune2fs -m0 /dev/sdb1 Oh, and sometimes the tune2fs command isn't needed. If I recall, it's needed only if the stick has never been formatted. parted /dev/sdb toggle 1 boot umount /dev/sdb1 livecd-iso-to-disk path to/DVD.iso /dev/sdb1 mkdir /mnt/iso mount -o loop path to/DVD.iso /mnt/iso mkdir mediausb stick/images cp /mnt/iso/images/install.img mediausb stickimages cp path to/DVD.iso /media/usb stick/ TEST: qemu -m 512 /dev/sdb I guess I should add yum install qemu to my notes, as I don't think that's installed by default. But using livecd-iso-to-disk makes it NOT ask for the image file location during the install. Try it. Personally, I think they should've named it bootable-iso-tools, but everyone's probably used to the livecd-tools name by now. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On Tuesday, January 10, 2012 17:53 [UTC -5], Darr247 spake thusly: I did not see that synopsis in your original post (and I'm not sure I could figure out what commands you used by that). The only 2 replies to this thread I saw in digest 84 issue 9 were to John Doe. Anyway, this is what I have in my notes, though I see you've marked this as solved... mostly assuming sdb as the USB device. From blank USB stick to bootable install: yum install livecd-tools syslinux dd if=/dev/zero of=/dev/sdb bs=512 count=1000 parted /dev/sdb mklabel msdos parted /dev/sdb mkpartfs p ext2 0% 100% tune2fs -m0 /dev/sdb1 Oh, and sometimes the tune2fs command isn't needed. If I recall, it's needed only if the stick has never been formatted. parted /dev/sdb toggle 1 boot umount /dev/sdb1 livecd-iso-to-disk path to/DVD.iso /dev/sdb1 mkdir /mnt/iso mount -o loop path to/DVD.iso /mnt/iso mkdir mediausb stick/images cp /mnt/iso/images/install.img mediausb stickimages cp path to/DVD.iso /media/usb stick/ TEST: qemu -m 512 /dev/sdb I guess I should add yum install qemu to my notes, as I don't think that's installed by default. But using livecd-iso-to-disk makes it NOT ask for the image file location during the install. Try it. Personally, I think they should've named it bootable-iso-tools, but everyone's probably used to the livecd-tools name by now. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)
I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. The contents of that are: ls -a .GPLTRANS.TBL .. Packages images .discinfoRELEASE-NOTES-en-US.html isolinux .treeinfoRPM-GPG-KEY-CentOS-6 lost+found CentOS_BuildTag RPM-GPG-KEY-CentOS-Debug-6 repodata EFI RPM-GPG-KEY-CentOS-Security-6 EULA RPM-GPG-KEY-CentOS-Testing-6 I've tried mounting /dev/sda2 on a new mountpoint, and both ln -s isolinux and images to /mnt/isolinux, and neither was accepted. Does anyone have any idea at all what the thing is looking for? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)
From: m.r...@5-cent.us m.r...@5-cent.us I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)
John Doe wrote: From: m.r...@5-cent.us m.r...@5-cent.us I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... This doesn't vaguely answer my question. The install.img mounted the partition, by itself, as /mnt/isolinux. That's what *IT* did. I thought I had the partition as a clone of the dvd by mount -o loop and rsync. But I've just rebuilt the USB key partition from the latest 2 DVDs we have locally (I rsync'd Pagckages/. from the second one into the Packages directory I made when I rsync'd the first DVD, so it should look like a one-disk DVD. As soon as that finishes, I'll try another time Unless someone has the explicit answer to what is the image, or directory, the install.img wants to mount to get the repo, please don't reply. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
But this thread's gotten way OT: *does* anyone have any idea what the .img file is that the running o/s from install.img is looking for, after the partitioning, when it's ready to install? Possibly, but without the info I previously requested, I won't be trying to reproduce the problem. e.g. the source file[s] and command[s] used to make your bootable USB stick. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
Darr247 wrote: But this thread's gotten way OT: *does* anyone have any idea what the .img file is that the running o/s from install.img is looking for, after the partitioning, when it's ready to install? Possibly, but without the info I previously requested, I won't be trying to reproduce the problem. e.g. the source file[s] and command[s] used to make your bootable USB stick. I started by listing that: 1. I have a partitioned USB stick, 8G, with a 10M FAT32 partition, and the rest as ext3. 2. Rsync'd isolinux to the FAT partition, renamed isolinux.cfg to syslinux.cfg 3. syslinux to the USB 4. mounted DVD.iso, and rsync'd all of that to the ext3 partition. 5. mounted the second DVD, and rsync'd Packages/* to the Packages directory already there, and so have a 1 DVD, effectively, on the USB. But the question is what image# 1 that it's looking for? It's not trying to look on the USB for an .iso, is it? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: Tuesday, January 10, 2012 12:48 To: CentOS mailing list Subject: Re: [CentOS] USB install annoyances (not OT) John Doe wrote: From: m.r...@5-cent.us m.r...@5-cent.us I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... This doesn't vaguely answer my question. I think it does, but not to the detail level you need. Details below. The install.img mounted the partition, by itself, as /mnt/isolinux. That's what *IT* did. I thought I had the partition as a clone of the dvd by mount -o loop and rsync. But I've just rebuilt the USB key partition from the latest 2 DVDs we have locally (I rsync'd Pagckages/. from the second one into the Packages directory I made when I rsync'd the first DVD, so it should look like a one-disk DVD. As soon as that finishes, I'll try another time Unless someone has the explicit answer to what is the image, or directory, the install.img wants to mount to get the repo, please don't reply. From what I recall: you can * boot the USB * layout and format the disks (we assume using anaconda) And when you get towards package selection, anaconda fails indicating ' that it can't find image# 1.' The image# 1 it is looking for is the .iso which could have been burnt to a DVD for doing the install, i.e., not something from the images directory from THAT iso. As RHEL6 anaconda derives from something post the rawhide that I submitted the following bug on, it may help you understand. https://bugzilla.redhat.com/show_bug.cgi?id=435976 summary: anaconda will not trust any mounted file system for the rpm's to install, it only trusts media images and http. I hope this helps you, of course I could always be wrong. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
But the question is what image# 1 that it's looking for? It's not trying to look on the USB for an .iso, is it? That sounds like the bug mentioned at the bottom of the CentOS How-to: http://wiki.centos.org/HowTos/InstallFromUSBkey https://bugzilla.redhat.com/show_bug.cgi?id=568343 (around comment 5) I recently did a network install initiated from a USB stick, but not an install from the stick (I didn't have a Linux machine handy and the 64-bit CentOS 6.2 ISO won't fit on a FAT file system). It is worth noting that the upstream vendor suggests using dd to create the USB media: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/Making_USB_Media.html One would assume that might work if you just needed DVD 1 of CentOS. -- William Hooper ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: Behalf Of m.r...@5-cent.us John Doe wrote: From: m.r...@5-cent.us m.r...@5-cent.us I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... This doesn't vaguely answer my question. snip From what I recall: you can * boot the USB * layout and format the disks (we assume using anaconda) And when you get towards package selection, anaconda fails indicating ' that it can't find image# 1.' The image# 1 it is looking for is the .iso which could have been burnt to a DVD for doing the install, i.e., not something from the images directory from THAT iso. As RHEL6 anaconda derives from something post the rawhide that I submitted the following bug on, it may help you understand. https://bugzilla.redhat.com/show_bug.cgi?id=435976 summary: anaconda will not trust any mounted file system for the rpm's to install, it only trusts media images and http. So you're saying that the second partition has to actually hold a .iso, *not* the contents? Augh! Well, I'll delete the contents of the filesystem, and rsync the .iso, and try again. I *did* note, this last time (I thought I'd found something else), that the popup window said iso 9660 Thanks! mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)[SOLVED]
Yet another denial - it's as though it's also blocking me based on the relationship of included text vs. new text. blah, blah, blah. Let's see if this is enough new text to get through. Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: Behalf Of m.r...@5-cent.us snip I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... snip And when you get towards package selection, anaconda fails indicating ' that it can't find image# 1.' The image# 1 it is looking for is the .iso which could have been burnt to a DVD for doing the install, i.e., not something from the images directory from THAT iso. snip Thank you, Todd, that was the answer. So, in RHEL 6, they're protecting us against ourselves (we might not have copied everything). So with the FAT32 partition as it was, I then deleted everything on the second partition, and copied both DVDs onto it... and it's installing even as we speak. I suppose I need to submit a revised how to build a USB key for CentOS 6. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)[SOLVED] (mostly)
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: Behalf Of m.r...@5-cent.us snip I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... snip And when you get towards package selection, anaconda fails indicating ' that it can't find image# 1.' The image# 1 it is looking for is the .iso which could have been burnt to a DVD for doing the install, i.e., not something from the images directory from THAT iso. snip Thank you, Todd, that was the answer. So, in RHEL 6, they're protecting us against ourselves (we might not have copied everything). So with the FAT32 partition as it was, I then deleted everything on the second partition, and copied both DVDs onto it... and it's installing even as we speak. I suppose I need to submit a revised how to build a USB key for CentOS 6. And then there's the bug report I need to file: my only question being whether it's with CentOS, or upstream. Given this stupid bios, I had to make the USB key /dev/sda, so I told it not to install the bootloader. Went to reboot with linux rescue to install grub... and the same program that mounts the iso for the install, will *not* do that for linux rescue, and it wants images/install.img in the directory mark ah, consistancy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
m.roth spake thusly: I started by listing that: 1. I have a partitioned USB stick, 8G, with a 10M FAT32 partition, and the rest as ext3. 2. Rsync'd isolinux to the FAT partition, renamed isolinux.cfg to syslinux.cfg 3. syslinux to the USB 4. mounted DVD.iso, and rsync'd all of that to the ext3 partition. 5. mounted the second DVD, and rsync'd Packages/* to the Packages directory already there, and so have a 1 DVD, effectively, on the USB. But the question is what image# 1 that it's looking for? It's not trying to look on the USB for an .iso, is it? mark I did not see that synopsis in your original post (and I'm not sure I could figure out what commands you used by that). The only 2 replies to this thread I saw in digest 84 issue 9 were to John Doe. Anyway, this is what I have in my notes, though I see you've marked this as solved... mostly assuming sdb as the USB device. From blank USB stick to bootable install: yum install livecd-tools syslinux dd if=/dev/zero of=/dev/sdb bs=512 count=1000 parted /dev/sdb mklabel msdos parted /dev/sdb mkpartfs p ext2 0% 100% tune2fs -m0 /dev/sdb1 parted /dev/sdb toggle 1 boot umount /dev/sdb1 livecd-iso-to-disk path to/DVD.iso /dev/sdb1 mkdir /mnt/iso mount -o loop path to/DVD.iso /mnt/iso mkdir /media/usb stick/images cp /mnt/iso/images/install.img /media/usb stick/images/ cp path to/DVD.iso /media/usb stick/ TEST: qemu -m 512 /dev/sdb I guess I should add yum install qemu to my notes, as I don't think that's installed by default. But using livecd-iso-to-disk makes it NOT ask for the image file location during the install. Try it. :-) Personally, I think they should've named it bootable-iso-tools, but everyone's probably used to the livecd-tools name by now. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances (not OT)[SOLVED]
On 01/11/2012 10:31 AM, m.r...@5-cent.us wrote: Yet another denial - it's as though it's also blocking me based on the relationship of included text vs. new text. blah, blah, blah. Let's see if this is enough new text to get through. Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote: Behalf Of m.r...@5-cent.us snip I've retried again, and it still fails. I see that it's mounted /dev/sda2, which is where I've got the contents of a DVD, as /mnt/isolinux. Unless you specifically need the DVD contents, maybe try with the ISOs instead... snip And when you get towards package selection, anaconda fails indicating ' that it can't find image# 1.' The image# 1 it is looking for is the .iso which could have been burnt to a DVD for doing the install, i.e., not something from the images directory from THAT iso. snip Thank you, Todd, that was the answer. So, in RHEL 6, they're protecting us against ourselves (we might not have copied everything). So with the FAT32 partition as it was, I then deleted everything on the second partition, and copied both DVDs onto it... and it's installing even as we speak. I suppose I need to submit a revised how to build a USB key for CentOS 6. Yes please mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
From: m.r...@5-cent.us m.r...@5-cent.us I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find image# 1. Works fine here... On some PCs/servers the key is sdb... syslinux.cfg: append initrd=initrd.img ks=hd:sda2:/ks.cfg repo=hd:sda2:/centos ks.cfg: harddrive --partition=sda2 --dir=/centos /centos contains images/install.img and the DVDs ISOs... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John Doe wrote: From: m.r...@5-cent.us m.r...@5-cent.us I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find image# 1. Works fine here... On some PCs/servers the key is sdb... syslinux.cfg: append initrd=initrd.img ks=hd:sda2:/ks.cfg repo=hd:sda2:/centos ks.cfg: harddrive --partition=sda2 --dir=/centos /centos contains images/install.img and the DVDs ISOs... Yeah, and normally the USB key shows up as sdb. I had to move it, for boot order, to get it to boot from it (weird BIOS). But as I said, what I don't know is what image# 1 is referring to. It says copy it to the right directory and try again... but I don't know *which* *.img it's referring to. Karabanh? Johnny? Clues? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 6:09 AM, John Doe wrote: Works fine here... On some PCs/servers the key is sdb... the days of relying on /dev/sd? are long past. 'scsi' devices renumber themselves on every boot. case in point, server I'm configuring now... has a LSI mptsas card with 2 disks mirrored for the OS and a megasas2 card with a large raid. when it first came, the megaraid had 2 raids on it, /dev/sda and /dev/sdb and the OS on the mpt card was on /dev/sdc I deleted these two raids and rebooted. now the OS was on /dev/sda ... I then defined a new larger raid60 on the megaraid, this was /dev/sdb then I rebooted and the megaraid was /dev/sda and the boot drive was /dev/sdb I chose to mount my raid volume with uuid |parted /dev/sda ||mklabel gpt| |parted -a optimal /dev/sda ||mkpart primary 128k -1s| |mkfs.xfs -f /dev/sda1| |uuid=$(xfs_admin -u /dev/sda1 | awk ||'{print $3}'||) # get the UUID| |echo ||uuid=$uuid /data xfs defaults1 2| | /etc/fstab| |mkdir /data| |mount /data| as I had no need for LVM on this configuration, but I have to say, I like Solaris's traditional disk numbering, /dev/dsk/c0t0d0s0 is channel 0, target 0, device 0, lun 0. the channel numbering is generally constant in a given system if you don't juggle IO cards around. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John R Pierce wrote: On 01/09/12 6:09 AM, John Doe wrote: Works fine here... On some PCs/servers the key is sdb... the days of relying on /dev/sd? are long past. Heh. See the point of a related thread, where mkswap -L did. not. work. No label... 'scsi' devices renumber themselves on every boot. case in point, So we use labels. I *loathe* UUIDs. Quick, tell my yours on one system without looking (as would be the case if the drive crashed). snip I've even labelled software RAID partitions. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 10:33 AM, m.r...@5-cent.us wrote: So we use labels. I*loathe* UUIDs. Quick, tell my yours on one system without looking (as would be the case if the drive crashed). from my rescue environment, I'd use: xfs_admin -u /dev/ (or the somewhat messier ext? equiv) labels get messy too, when you have 27 systems and a half dozen file systems each. you want your labels globally unique so if you plug a volume into another system for repair there's no collisions. our hostnames tend to be messy and nearly as unreadable as a uuid, so embedding them in a label wouldn't actually be much help. my install instructions for this server config ($job work in progress) currently read... mkfs.xfs -f /dev/sda1 uuid=$(xfs_admin -u /dev/sda1 | awk '{print $3}') # get the UUID echo UUID=$uuid /data xfs defaults1 2 /etc/fstab mkdir /data mount /data -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John R Pierce wrote: On 01/09/12 10:33 AM, m.r...@5-cent.us wrote: So we use labels. I*loathe* UUIDs. Quick, tell my yours on one system without looking (as would be the case if the drive crashed). from my rescue environment, I'd use: xfs_admin -u /dev/ (or the somewhat messier ext? equiv) labels get messy too, when you have 27 systems and a half dozen file systems each. you want your labels globally unique so if you plug a volume into another system for repair there's no collisions. our They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot hostnames tend to be messy and nearly as unreadable as a uuid, so embedding them in a label wouldn't actually be much help. Oh, you're in one of *those* places This machine was bought under this account, and is part of this project, and there's 1-4 char abbreviations for each, and . snip mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On Mon, Jan 9, 2012 at 1:11 PM, m.r...@5-cent.us wrote: labels get messy too, when you have 27 systems and a half dozen file systems each. you want your labels globally unique so if you plug a volume into another system for repair there's no collisions. our They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot On which machine? Don't you ever move drives around? Things can get ugly with duplicate labels even if the reason you added a used disk was just to reformat it and reuse as a different mount. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 11:11 AM, m.r...@5-cent.us wrote: They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot don't plug one of those into a different system for repair or you'll have all kinda grief. $HOSTNAME_root would be the sane way to do it... hostnames tend to be messy and nearly as unreadable as a uuid, so embedding them in a label wouldn't actually be much help. Oh, you're in one of *those* places This machine was bought under this account, and is part of this project, and there's 1-4 char abbreviations for each, and . well, $job is at a large multinational... company standardized hostnames start with a 3 letter site prefix, then -S for server, then a 6 digit department ID, then -nnn as a server ID within that group. fug-ly. projects are too transient and servers tend to bounce around between physical and virtual over their life cycle. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
Les Mikesell wrote: On Mon, Jan 9, 2012 at 1:11 PM, m.r...@5-cent.us wrote: labels get messy too, when you have 27 systems and a half dozen file systems each. you want your labels globally unique so if you plug a volume into another system for repair there's no collisions. our They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot On which machine? Don't you ever move drives around? Things can get ugly with duplicate labels even if the reason you added a used disk was just to reformat it and reuse as a different mount. On all of them. They should be running the same o/s. Move them around? No, not unless we're replacing one that's either failed, or too small. And with hostname and IP via dhcp, there's only a few things to worry about, such as if it's an h/a or HPC cluster member, or backups, home directory server, whatever. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John R Pierce wrote: On 01/09/12 11:11 AM, m.r...@5-cent.us wrote: They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot don't plug one of those into a different system for repair or you'll have all kinda grief. $HOSTNAME_root would be the sane way to do it... I'm trying to figure out why I'd plug one into a different system for repair. Either the drive's bad, or I'm re-embodying a server that died, but left good drives. If it's going bad, the *only* thing I'm going to do is plug it into a hot-swap bay (just about all of ours have those, love them) to recover some data, then wipe it. hostnames tend to be messy and nearly as unreadable as a uuid, so embedding them in a label wouldn't actually be much help. Oh, you're in one of *those* places This machine was bought under this account, and is part of this project, and there's 1-4 char abbreviations for each, and . well, $job is at a large multinational... company standardized hostnames start with a 3 letter site prefix, then -S for server, then a 6 digit department ID, then -nnn as a server ID within that group. fug-ly. projects are too transient and servers tend to bounce around between physical and virtual over their life cycle. Exactly what I was implying. Been there, but mostly in smaller groups, so we could name our own. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 12:05 PM, m.r...@5-cent.us wrote: John R Pierce wrote: On 01/09/12 11:11 AM,m.r...@5-cent.us wrote: They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot don't plug one of those into a different system for repair or you'll have all kinda grief. $HOSTNAME_root would be the sane way to do it... I'm trying to figure out why I'd plug one into a different system for repair. Either the drive's bad, or I'm re-embodying a server that died, but left good drives. If it's going bad, the*only* thing I'm going to do is plug it into a hot-swap bay (just about all of ours have those, love them) to recover some data, then wipe it. exactly. and if you put that drive in a hotswap bay of another system that is using the same label, thats a potential for a big mess. same thing with LVM volume groups, you want their names globally unique, I notice EL6 now embeds the hostname in the VG... -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
Again, I *HATE* dnsorbs This was bounced, which makes twice today. snip more text, add a few more words, we'll see if this makes it. John R Pierce wrote: On 01/09/12 12:05 PM, m.r...@5-cent.us wrote: John R Pierce wrote: On 01/09/12 11:11 AM,m.r...@5-cent.us wrote: They are? I dunno - ours are labelled where they're intended to be mounted, like / or /boot don't plug one of those into a different system for repair or you'll have all kinda grief. $HOSTNAME_root would be the sane way to do it... I'm trying to figure out why I'd plug one into a different system for repair. Either the drive's bad, or I'm re-embodying a server that died, but left good drives. If it's going bad, the*only* thing I'm going to do is plug it into a hot-swap bay (just about all of ours have those, love them) to recover some data, then wipe it. exactly. and if you put that drive in a hotswap bay of another system that is using the same label, thats a potential for a big mess. same snip Why? If I shove it into another system, I'm *not* rebooting using it, just putting it into a spare bay; then I'll mount /dev/sdwhatever /mnt. No problem. But this thread's gotten way OT: *does* anyone have any idea what the .img file is that the running o/s from install.img is looking for, after the partitioning, when it's ready to install? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 12:31 PM, m.r...@5-cent.us wrote: Again, I*HATE* dnsorbs This was bounced, which makes twice today. snip more text, add a few more words, we'll see if this makes it. your email is being relayed through 66.147.249.253 (oproxy4-pub.bluehost.com) which appears on several spam lists, for instance, sorbs says 100s of spams have been sent from that host in the past interval. you want to use a spammer-friendly service as your mail server, expect to be treated as a spammer and blocked by admins tired of the deluge.. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John R Pierce wrote: On 01/09/12 12:31 PM, m.r...@5-cent.us wrote: Again, I*HATE* dnsorbs This was bounced, which makes twice today. snip more text, add a few more words, we'll see if this makes it. your email is being relayed through 66.147.249.253 (oproxy4-pub.bluehost.com) which appears on several spam lists, for instance, sorbs says 100s of spams have been sent from that host in the past interval. you want to use a spammer-friendly service as your mail server, expect to be treated as a spammer and blocked by admins tired of the deluge.. Let's go through this again - we did it months ago. My site is hosted by hostmonster, which also operates as bluehost. They are a *large* provider, with hundreds of thousands of domains, and the email from all of them go through their (few) email servers. Therefore, when 100 or so of them running WinBlows get their hosts infected, and they send out spam, and the hosting provider hasn't caught them yet, hundreds of thousands of the rest of us get hit with the same block. Who here is *not* using a work email? Who here posts from their own hosting site? Has this ever happened to you? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 1:13 PM, m.r...@5-cent.us wrote: Let's go through this again - we did it months ago. My site is hosted by hostmonster, which also operates as bluehost. They are a*large* provider, with hundreds of thousands of domains, and the email from all of them go through their (few) email servers. Therefore, when 100 or so of them running WinBlows get their hosts infected, and they send out spam, and the hosting provider hasn't caught them yet, hundreds of thousands of the rest of us get hit with the same block. Thats a BS excuse. gmail has MILLIONS more users than bluehost, yet doesn't seem to ever be used to relay spam. Why? they are proactive rather than reactive. Bluehost is a cutrate provider who only reacts when forced, or this wouldn't keep recurring over and over again. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/2012 10:13 PM, m.r...@5-cent.us wrote: John R Pierce wrote: On 01/09/12 12:31 PM, m.r...@5-cent.us wrote: Again, I*HATE* dnsorbs This was bounced, which makes twice today. snip more text, add a few more words, we'll see if this makes it. your email is being relayed through 66.147.249.253 (oproxy4-pub.bluehost.com) which appears on several spam lists, for instance, sorbs says 100s of spams have been sent from that host in the past interval. you want to use a spammer-friendly service as your mail server, expect to be treated as a spammer and blocked by admins tired of the deluge.. Let's go through this again - we did it months ago. My site is hosted by hostmonster, which also operates as bluehost. They are a *large* provider, with hundreds of thousands of domains, and the email from all of them go through their (few) email servers. Therefore, when 100 or so of them running WinBlows get their hosts infected, and they send out spam, and the hosting provider hasn't caught them yet, hundreds of thousands of the rest of us get hit with the same block. Who here is *not* using a work email? Who here posts from their own hosting site? Has this ever happened to you? I own my own domain/server/subnet. My WISP customers can only send mail via my server, with all the prevention's I could think of. I have never been hit with this (but I do have small customer base), but I have had regular domains (like one local Bank!!!) blocked to deliver to my server because they do not have proper FQDN. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 1:30 PM, Ljubomir Ljubojevic wrote: I own my own domain/server/subnet. My WISP customers can only send mail via my server, with all the prevention's I could think of. I have never been hit with this (but I do have small customer base), but I have had regular domains (like one local Bank!!!) blocked to deliver to my server because they do not have proper FQDN. I too run a few mail servers... none of my servers will accept incoming email from a host that doesn't have a reverse DNS that when looked up returns the original IP (eg, IP - reverse - forward - IP... note this doesn't have to match the HELO name). I also check that the 'from' domain name has an A or MX record. This sort of thing has been standard practice for email servers for at least 15 years. The way I figure it, if someone can't get the DNS right, they shouldn't be running a email server at all. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On Mon, Jan 09, 2012 at 01:29:24PM -0800, John R Pierce wrote: Thats a BS excuse. gmail has MILLIONS more users than bluehost, yet doesn't seem to ever be used to relay spam. Why? they are proactive *giggle* *giggle* *laugh* *guffaw* BWAAHAHAHAHHH! No spam via gmail? Wow... Funniest thing I've heard all day! -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
John R Pierce wrote: On 01/09/12 1:13 PM, m.r...@5-cent.us wrote: Let's go through this again - we did it months ago. My site is hosted by hostmonster, which also operates as bluehost. They are a*large* provider, with hundreds of thousands of domains, and the email from all of them go through their (few) email servers. Therefore, when 100 or so of them running WinBlows get their hosts infected, and they send out spam, and the hosting provider hasn't caught them yet, hundreds of thousands of the rest of us get hit with the same block. Thats a BS excuse. gmail has MILLIONS more users than bluehost, yet doesn't seem to ever be used to relay spam. Why? they are proactive rather than reactive. Bluehost is a cutrate provider who only reacts when forced, or this wouldn't keep recurring over and over again. Ok, fine. Find me a hosting provider with similar rates - I don't have a commercial site - and then get my money refunded that I've prepaid, and the move of my stuff. And I resent you suggesting that I chose them without doing due dilligence, without getting a recommendations for hosting providers from friends, some of whom have been online a *very* long time. I should jump every time a provider falls behind? And no, I will NOT go to gmail - when I use pop-3 and delete, I want it *GONE* forever off the server. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
Ljubomir Ljubojevic wrote: On 01/09/2012 10:13 PM, m.r...@5-cent.us wrote: snip Who here is *not* using a work email? Who here posts from their own hosting site? Has this ever happened to you? I own my own domain/server/subnet. My WISP customers can only send mail via my server, with all the prevention's I could think of. I have never been hit with this (but I do have small customer base), but I have had regular domains (like one local Bank!!!) blocked to deliver to my server because they do not have proper FQDN. As I noted in another email, I don't have a commercial site. Buying a static IP from Verizon, to run a server from home, is a *lot* more expensive than just a 'Net connection and an inexpensive hosting provider. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/12 1:39 PM, Stephen Harris wrote: *giggle* *giggle* *laugh* *guffaw* BWAAHAHAHAHHH! No spam via gmail? Wow... Funniest thing I've heard all day! none of it that I've seen came through gmail servers... lots of spam from anonymous open relays with forged @gmail.com from addresses, they can't do anything about that. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 01/09/2012 10:43 PM, m.r...@5-cent.us wrote: Ljubomir Ljubojevic wrote: On 01/09/2012 10:13 PM, m.r...@5-cent.us wrote: snip Who here is *not* using a work email? Who here posts from their own hosting site? Has this ever happened to you? I own my own domain/server/subnet. My WISP customers can only send mail via my server, with all the prevention's I could think of. I have never been hit with this (but I do have small customer base), but I have had regular domains (like one local Bank!!!) blocked to deliver to my server because they do not have proper FQDN. As I noted in another email, I don't have a commercial site. Buying a static IP from Verizon, to run a server from home, is a *lot* more expensive than just a 'Net connection and an inexpensive hosting provider. It is OK. You asked who, and I answered, that is all. If I was not on the semi-reliable 150Km Wireless link, I would be able to provide quality service. Believe it or not, I am one of the *very* *very* rare hosting providers in Serbia (local mostly) that provide SSL POP3/SMTP connection via port 995 and 465. There is maybe one or two providers on 7 million citizens. And yes, I forgot to write about reverse DNS, I have that too. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On Mon, Jan 09, 2012 at 01:44:54PM -0800, John R Pierce wrote: On 01/09/12 1:39 PM, Stephen Harris wrote: *giggle* *giggle* *laugh* *guffaw* BWAAHAHAHAHHH! No spam via gmail? Wow... Funniest thing I've heard all day! none of it that I've seen came through gmail servers... lots of spam from anonymous open relays with forged @gmail.com from addresses, they can't do anything about that. What you have seen, maybe. What I've seen? Hahahah. Now, to be fair, Google _have_ improved. It's nowhere as bad as it was 2 years ago (when various services actually blacklisted google as a spam source). But to say that google never relays spam is laughable. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
On 2012-01-10 08:44, m.r...@5-cent.us wrote: ...snip... And then there's google+. I'm *REALLY* tired of Poredsky (or however his name's spelled), sending me spam in Russian I hear you. I recently created an SPF record and added the necessary SMF-SPF milter on my mail server just to fight this Sergey Podushkin SPAM; all history now! This guy was getting on my last nerve! Cheers, ak. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] USB install annoyances
I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find image# 1. Can you tell us how you're making the bootable USB key? e.g. the source .iso file[s] and all commands used. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] USB install annoyances
I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find image# 1. Over in the log, I see a lot of it not finding any drive at all, yet all the h/d drives and sda2, which is what the USB key is, and where the linux partition is, are mounted. Guys, any idea what image# 1 is, or what configuration file is telling it to look in a wrong place? Thanks in advance. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos