ronklob
February 2nd, 2005, 01:21 PM
Hi all,
I've just begun what I hope will be a long journey into Linux with Ubuntu. The beginning path has been a bit bumpy though.
OK, I've got a blue & white G3/350 setup (for now) with a single 15GB drive, with Warty (2.6.8.1-3) on it. Using Random Juju's tip here (http://ubuntuforums.org/showpost.php?p=42546&postcount=14), I was able to get Ubuntu up and running, then used Synaptic to perform most of the upgrades, and did some custom installs.
So I had it all set up the way I wanted, then shut it down to move into the next room. On startup, I'm back to
pivot_root no such file or directory
/sbin/init/: 429: cannot open dev/console: no such file
Kernel Panic: Attempted to kill init!
Apparently, there was a bit more to Juju's explanation that I missed. A VERY IMPORTANT bit. (http://www.ubuntuforums.org/showthread.php?t=8050&page=2&pp=10&highlight=429+initrd) The bit about needing to patch initrd-tools to make sure that this doesn't happen again when a new kernel is used. Which is what happened when I did my updates.
So, now I've dl'd the Hoary Live image, and have been able to boot from that, but I can't find the partition that has my data, so I can change the initrd-tools and end this.
'mount' gives me:
/dev/mapper/casper-snapshot on / type auto (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,node=0755)
trying 'mount /dev/hda1 (or any #)' just gives 'mount: you must specify the filesystem type'
I also tried 'cat /etc/fstab' which gave me:
/dev/mapper/casper-snapsot / auto noatime 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
tmpfs /var/run tmpfs nosuid,nodev 0 0
/dev/hdc4 swap swap defaults 0 0
So it looks like it can see the swap partition, as hdc4, but when I try to mount any hdcx, I get 'mount: can't find hdcx in /etc/fstab or /etc/mtab', including hdc4.
So, how should I go about this to get my partitions mounted and find the initrd-tools file, and edit it and restart?
(Please remember I'm a noob, and most of the commands I've used are basic, or I don't REALLY understand what they are doing, so I'll need step-by-step -- THX)
I've just begun what I hope will be a long journey into Linux with Ubuntu. The beginning path has been a bit bumpy though.
OK, I've got a blue & white G3/350 setup (for now) with a single 15GB drive, with Warty (2.6.8.1-3) on it. Using Random Juju's tip here (http://ubuntuforums.org/showpost.php?p=42546&postcount=14), I was able to get Ubuntu up and running, then used Synaptic to perform most of the upgrades, and did some custom installs.
So I had it all set up the way I wanted, then shut it down to move into the next room. On startup, I'm back to
pivot_root no such file or directory
/sbin/init/: 429: cannot open dev/console: no such file
Kernel Panic: Attempted to kill init!
Apparently, there was a bit more to Juju's explanation that I missed. A VERY IMPORTANT bit. (http://www.ubuntuforums.org/showthread.php?t=8050&page=2&pp=10&highlight=429+initrd) The bit about needing to patch initrd-tools to make sure that this doesn't happen again when a new kernel is used. Which is what happened when I did my updates.
So, now I've dl'd the Hoary Live image, and have been able to boot from that, but I can't find the partition that has my data, so I can change the initrd-tools and end this.
'mount' gives me:
/dev/mapper/casper-snapshot on / type auto (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,node=0755)
trying 'mount /dev/hda1 (or any #)' just gives 'mount: you must specify the filesystem type'
I also tried 'cat /etc/fstab' which gave me:
/dev/mapper/casper-snapsot / auto noatime 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
tmpfs /var/run tmpfs nosuid,nodev 0 0
/dev/hdc4 swap swap defaults 0 0
So it looks like it can see the swap partition, as hdc4, but when I try to mount any hdcx, I get 'mount: can't find hdcx in /etc/fstab or /etc/mtab', including hdc4.
So, how should I go about this to get my partitions mounted and find the initrd-tools file, and edit it and restart?
(Please remember I'm a noob, and most of the commands I've used are basic, or I don't REALLY understand what they are doing, so I'll need step-by-step -- THX)