Re: Now lost boot dir
David Baron wrote:
>
> Diagnostics failed in attemts to reach you, trying emial with .com
>
Your e-mail arrived as one continuous long line. There were no line
breaks whatsoever. I don't know what tool you used, but please try
to fine a more user-friendly tool next time. I had to manually
reformat the whole thing. Also, you sent the e-mail to me only
and did not copy the list.
> Note: I am not using an initrd so update-initramfs is not relevant!
>
That's right, I forgot about that.
> $ cat /mnt/hdb2/etc/fstab
> # /etc/fstab: filesystem table.#
> # filesystem mountpoint type options dump pass
> # ROOT/dev/sdb2 / ext3 defaults,errors=remount-ro 0 1
> # BOOT/dev/sdb1 /boot ext3 defaults,errors=remount-ro 0 2
> /dev/sda4 none swap sw 0 0
> /dev/sdb3 none swap sw 0 0
> proc /proc proc defaults 0 0
> /dev/fd0 /floppy vfat defaults,user,noauto,sync,exec,umask=022 0 0
> #second master is now on /dev/hdc
> # maintaining older mount directories for convenience
> #changed by david baron
> #/dev/hdb /mnt/hdc iso9660 defaults,user,noexec,noauto,unhide 0 0
> # Added by KNOPPIX, made auto by david (I am taking out auto for summer)
> /dev/sda1 /mnt/hda1 vfat auto,user,exec,umask=000,uid=david,gid=david 0 0
> # SHARED DATA (left this way for convenience)
> /dev/sda5 /mnt/hda6 vfat auto,user,exec,umask=000,uid=david,gid=david 0 0
> # AUDIO was on hdb--changed to hdc, keep older directories for convenience
> /dev/sdc5
> /mnt/hdb5 vfat noauto,user,exec,umask=000,uid=david,gid=david 0 0
> # Do I need such as this?
> none /proc/bus/usb usbfs defaults 0 0
> # temporary memory for qemu, et al?
> none /dev/shm tmpfs rw,size=512m 0 0
> # mount win98 image to my test folder
> /mnt/hda6/win98.img /home/david/test auto noauto,loop,offset=32256,umask=022,user
> # mount mp3 player
> #/dev/sda /mnt/mp3player auto defaults,user,noauto 0 0
> #/dev/sdb /mnt/pictureframe auto defaults,user,noauto 0 0
> # mount cell phone usb
> #/dev/sda1 /mnt/phone auto defaults,user,noauto 0 0
> #/dev/sdb1 /mnt/phone-sd auto defaults,user,noauto 0 0
> #/dev/sdd1 /mnt/phone-sd auto defaults,user,noauto 0 0
> # NEW STUFF FOR LVM/dev/DB-LVM/LV_OPT /opt ext3 defaults 1 2
> /dev/DB-LVM/LV_USR /usr ext3 defaults 1 2
> /dev/DB-LVM/LV_VAR /var ext3 defaults 1 2
> /dev/DB-LVM/LV_HOME /home ext3 defaults 1 2
> #/dev/DB-LVM2/LV_AUX /mnt/aux ext3 defaults 1 2
I'm really confused. As I've said before, I don't know anything about LVMs,
so that may be part of the problem. But I don't see anything mounted as /.
I also see a bunch of stuff that is confusing. I see stuff mounted on pass 0,
for example, that I would expect to see mounted on pass 2. And you're not
using any uuids in /etc/fstab. Maybe with this information, someone else
who is familiar with LVMs can make sense of this.
>
> Here are more. Note from knoppix-5 CD, paths reference hd... rathern than sd... disk device names.
> This is why other sd stuff was commented above as will need to be changed.
>
> $ ls -Al /dev/disk/by-id/
> total 0
> lrwxrwxrwx 1 root root 9 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947 -> ../../hda
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part1 -> ../../hda1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part2 -> ../../hda2
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part3 -> ../../hda3
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part4 -> ../../hda4
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part5 -> ../../hda5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD400BB-00DEA0_WD-WMAD19873947-part6 -> ../../hda6
> lrwxrwxrwx 1 root root 9 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676 -> ../../hdb
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part1 -> ../../hdb1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part2 -> ../../hdb2
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part3 -> ../../hdb3
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part4 -> ../../hdb4
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part5 -> ../../hdb5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 ata-WDC_WD800JB-00ETA0_WD-WCAHL5220676-part6 -> ../../hdb6
Based on this, if you want lilo's stage 1 boot loader installed to the master boot record,
it looks like you would specify
boot=/dev/disk/by-id/ata-WDC_WD400BB-00DEA0_WD-WMAD19873947
in /etc/lilo.conf. Speaking of which, I asked for a copy of that file also, which you did not
provide.
> $ ls -Al /dev/disk/by-uuid/
> total 0
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 0e4daa81-9396-4257-850f-7a64732b64fd -> ../../hdb3
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 48F8-54A6 -> ../../hdb5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 4C01-B501 -> ../../hda1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 C366-1257 -> ../../hda5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 cfec040e-ca65-432a-8e4e-68c2126a4f44 -> ../../hdb1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 d0c33beb-b77a-4e77-ac0b-346161a1120a -> ../../hda4
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 df24bea0-5520-4281-b053-021bd5a96628 -> ../../hdb2
> $ ls -Al /dev/disk/by-path/
> total 0
> lrwxrwxrwx 1 root root 9 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0 -> ../../hda
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part1 -> ../../hda1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part2 -> ../../hda2
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part3 -> ../../hda3
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part4 -> ../../hda4
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part5 -> ../../hda5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:0-part6 -> ../../hda6
> lrwxrwxrwx 1 root root 9 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1 -> ../../hdb
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part1 -> ../../hdb1
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part2 -> ../../hdb2
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part3 -> ../../hdb3
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part4 -> ../../hdb4
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part5 -> ../../hdb5
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.1-ide-0:1-part6 -> ../../hdb6
> lrwxrwxrwx 1 root root 10 Aug 30 10:00 pci-0000:00:1f.2-scsi-1:0:1:0 -> ../../scd0
>
> These are in order, I think. Is there something new I need to compile into the 2.6.34 kernel
> (2.6.32 booted on the old machine before I started monkeying around)? I did check the intel
> options under the new PATA/SATA driver?
Please provide the /etc/lilo.conf file too, and please, somebody who knows LVMs
give this guy some help. This is out of my area of expertise.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
Reply to: