Booting CD, /usr not found

Booting, installing, newbie
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#16 Post by BarryK »

No unfortunately, the tcl/tk libs are in /usr/lib, in the usr_cram.fs file.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#17 Post by BarryK »

BarryK wrote:Okay, in an rxvt terminal you type:

# disktype /dev/hdg

I would like to know the exact error message returned -- just drag the mouse pointer over the message to highlight the text and it will automatically go into the clipboard when you release the left mouse button -- then ctrl-v to paste it into this forum.

Also try this:

# probepart

...if this works, what i could do is modify the bootup code so if disktype returns error msg, then use probepart.

Although you have worked around the problem i would like to solve the original problem!
Jonathon,
where are you?!!
I'm keen to get feedback on this.

Guest

#18 Post by Guest »

In my case I have
# disktype /dev/hdc

--- /dev/hdc
Block device, size 60.42 MiB (63358976 bytes)
CD-ROM, 1 track, CDDB disk ID 00000001
Track 1: Data track, 0 bytes

# probepart
ext3
ext3
/dev/hdc|iso9660|0|VMware Virtual IDE CDROM Drive
/dev/hda1|ext3|4016187|Linux Ext3FS
/dev/hda2|swap|803250|Linux Swap
/dev/hda3|ext3|3566430|Linux Ext3FS
#

Note that the 'CD' is a VMware virtual CD, mapped to the .iso file (as opposed to a virtual CD mapped to a real drive)

I had to type the above data in, so there might be typos.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#19 Post by BarryK »

Thanks for the response.
That is very interesting. In my case, with a real CD drive:

Code: Select all

# disktype /dev/hdc

--- /dev/hdc
Block device, size 60.35 MiB (63277056 bytes)
CD-ROM, 1 track, CDDB disk ID 02019B01
Track 1: Data track, 60.35 MiB (63277056 bytes)
  ISO9660 file system
    Volume name "CDROM"
    Application "MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING"
    Data size 60.31 MiB (63242240 bytes, 30880 blocks of 2 KiB)
    El Torito boot record, catalog at 32
      Bootable non-emulated image, starts at 33, preloads 2 KiB
        ISOLINUX boot code
    Joliet extension, volume name "CDROM"
The rc.sysinit boot script looks for that string "ISO9660", but in your case it ain't there. Hence failure.
But, probepart does report "iso9660", so I will modify rc.sysinit to use that as a fallback test.

...or, did you just not type in the entire response from disktype?

Bye the way, you don't have to type it in.
From a rxvt terminal, drag mouse pointer over text to highlight it, release mouse button, text is automatically placed in clipboard. ctrl-v to paste it.

Guest

#20 Post by Guest »

That was the entire response from disktype. The track shows as 0 bytes, so I suppose it can't look to see if there is a file system there. Possibly a problem in the vmware cd emulation.
Cut and paste was not available as I was doing it from the text only boot up, and didn't have the network running, so I had to type it into firefox on my main system.

JonathanBrickman0000
Posts: 14
Joined: Mon 04 Jul 2005, 19:13
Contact:

Sorry about the hiatus.

#21 Post by JonathanBrickman0000 »

BarryK, sorry about the hiatus, I have been very busy on other things. The short version is:

When I am booting purely off the CD, when I have not copied the /usr data and the pup001 data to my V drive, the messages are "device not found". /dev/hdg is not present at all, in no way shape or form, when I am booting purely off the CD, and this is reported by diskpart and probepart and ls /dev/hd*. But when I copy the /usr data and pup001 data to my V drive, /dev/hdg etcetera are present, and all is well.

Because of this, I cannot simply copy/paste the error messages, because all I have is root command line when the error messages are present!

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#22 Post by Flash »

If you have a digital camera you can take a 'screen shot' with it, crop everything but the text and resize it to minimum resolution that is readable, then post it.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#23 Post by BarryK »

Well, I have to finalise 1.0.4 tomorrow...
I can probably make an improvement based on feedback from "Guest".
Running in VMware, disktype is reporting "Track 1: Data track 0 bytes", so I can get the boot script to detect that condition and fallback to probepart, then it should detect the iso9660 filesystem.

JonathanBrickman0000
Posts: 14
Joined: Mon 04 Jul 2005, 19:13
Contact:

I did a bit of rearranging.

#24 Post by JonathanBrickman0000 »

Sorry, no digital camera :) I have, however, just set up my drive partition situation differently, so that there is a FAT32 partition visible to the CD-only-boot command line (I converted my M: to FAT32). So, I can now paste the full text of dmesg, and the full text of ls -CF /dev/hd*. I hope it is very obvious that probepart cannot return anything useful using a devicename that is not present in /dev!

"dmesg":

Code: Select all

Linux version 2.4.27 (root@darkstar) (gcc version 3.2.3) #1 Tue Dec 21 08:52:29 WST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
 BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
 BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
767MB LOWMEM available.
On node 0 totalpages: 196592
zone(0): 4096 pages.
zone(1): 192496 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 initrd=image.gz PFILE=no BOOT_IMAGE=vmlinuz 
Initializing CPU#0
Detected 854.721 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1703.93 BogoMIPS
Memory: 768524k/786368k available (1304k kernel code, 17456k reserved, 503k data, 104k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU:             Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Duron(tm) processor stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb460, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1106/3099] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Real Time Clock Driver v1.10f
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 11264K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 00:0d.0
SiI680: chipset revision 2
SiI680: not 100% native mode: will probe irqs later
SiI680: BASE CLOCK == 133 
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
    ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
    ide2: BM-DMA at 0xe000-0xe007, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xe008-0xe00f, BIOS settings: hdg:DMA, hdh:pio
hda: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
hdc: Maxtor 6Y080L0, ATA DISK drive
blk: queue c0317054, I/O limit 4095Mb (mask 0xffffffff)
hde: ST340014A, ATA DISK drive
blk: queue c03174a8, I/O limit 4095Mb (mask 0xffffffff)
hdg: DVD-RW IDE1008, ATAPI CD/DVD-ROM drive
ide0 at 0xf081a080-0xf081a087,0xf081a08a on irq 10
ide1 at 0xf081a0c0-0xf081a0c7,0xf081a0ca on irq 10
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
ide3 at 0x170-0x177,0x376 on irq 15
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, UDMA(133)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
Partition check:
 hdc: hdc1 hdc2
 hde: hde1 hde2
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 6776k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 104k freed
SCSI subsystem driver Revision: 1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:03:29 Dec 21 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xec00, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Creative EMU10K1 PCI Audio Driver, version 0.20, 17:00:42 Dec 21 2004
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 at 0xf0857000, 00:30:bd:03:a6:e7, IRQ 5
eth0:  Identified 8139 chip type 'RTL-8139C'
hda: attached ide-cdrom driver.
hda: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdg: attached ide-cdrom driver.
hdg: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
hub.c: new USB device 00:11.2-2, assigned address 2
cdrom: open failed.
usb.c: USB device 2 (vend/prod 0x461/0x371) is not claimed by any active driver.
cdrom: open failed.
Uniform CD-ROM driver unloaded
hub.c: new USB device 00:11.4-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
hub.c: new USB device 00:11.4-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x4a9/0x108a) is not claimed by any active driver.
hda: attached ide-cdrom driver.
hda: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdg: attached ide-cdrom driver.
hdg: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
VFS: Can't find ext3 filesystem on dev ide1(22,2).
VFS: Can't find ext2 filesystem on dev ide1(22,2).
VFS: Can't find a Minix or Minix V2 filesystem on device 16:02.
UMSDOS 0.86k (compatibility level 0.4, fast msdos)
and "ls -CF /dev/hd*":

Code: Select all

/dev/hda    /dev/hda16  /dev/hda9   /dev/hdb7   /dev/hdc5   /dev/hdd3
/dev/hda1   /dev/hda2   /dev/hdb    /dev/hdb8   /dev/hdc6   /dev/hdd4
/dev/hda10  /dev/hda3   /dev/hdb1   /dev/hdb9   /dev/hdc7   /dev/hdd5
/dev/hda11  /dev/hda4   /dev/hdb2   /dev/hdc    /dev/hdc8   /dev/hdd6
/dev/hda12  /dev/hda5   /dev/hdb3   /dev/hdc1   /dev/hdc9   /dev/hdd7
/dev/hda13  /dev/hda6   /dev/hdb4   /dev/hdc2   /dev/hdd    /dev/hdd8
/dev/hda14  /dev/hda7   /dev/hdb5   /dev/hdc3   /dev/hdd1   /dev/hdd9
/dev/hda15  /dev/hda8   /dev/hdb6   /dev/hdc4   /dev/hdd2

Post Reply