Gerald wrote: >On Sun, 20 Nov 2005 08:30 am, you wrote: > > >>Gerald wrote: >> >> >>>On Sat, 19 Nov 2005 06:27 pm, Adam Felix Bogacki wrote: >>> >>> >>>>Gerald, >>>> >>>>I've just downloaded and burned the Gentoo Live CD >>>>from <ftp://ftp.swin.edu.au/gentoo/experimental/x86/livecd/x86/> >>>>thinking it might be more reliable and with more options than the >>>>SystemRescueCD. >>>> >>>>It works nicely but I can't mount partitions from my system because I >>>>can't work out the root passwd. >>>> >>>>It refers to user 'gentoo' with no passwd, but trying to su to 'root' >>>>like that did not work, nor did others I tried.. >>>> >>>>Would you have any ideas on what it could be ? >>>> >>>>I'm reading up on mkinitrd before trying it .. presumably with the >>>>SysRescueCD. >>>> >>>>Adam Bogacki, >>>>[EMAIL PROTECTED] >>>> >>>> >>>Hello Adam >>>The gentoo boot disk is at root. >>>all you need to do is as follows: >>>1........mount -t ext3(or whatever) /dev/hdax /mnt/gentoo >>>this will mount /dev/hdax on the gentoo root >>>you can then do ls /mnt/gentoo to get a list of the files on that >>>partioion.. >>>If that is not the correct partition do: >>>2.......umount /mnt/gentoo >>>The goto 1 again and try a second partiion >>> >>>If all else fails switch to Gentoo if you have ADSL???????? >>>Best wishes >>>Gerald >>> >>> >>Yep, you're right. Using /mnt/gentoo I was able to access my own /etc >>and realised I'd given you >>incorrect information about my /etc/lilo.conf >> >>.. omitting comments and some stuff at the end it looks like >> >>lba3 >>/boot=/dev/hda >>root=/dev/hdb5 >>install=/boot/boot-menu.b >>map=/boot/map >>delay=150 >>prompt >>timeout=175 >>vga=normal >> image=/boot/vmlinuz-2.6.5-1-686 >> label=linux-2.6.5 >> initrd=/boot/initrd.img-2.6.5custom >> read-only >> append="root=/dev/hdb5" >>image=vmlinuz >> label=Linux >> read-only >> initrd=/initrd.img >> append="root=/dev/hdb5" >>image=/vmlinuz.old >> label=LinuxOLD >> read-only >> optional >>other=/dev/hda1 >> label= "Windows(hda1)" >> >>.. however my /boot does not contain an 'initrd.img*' file. >> >>I have been trying .. >> >>livecd root# /usr/sbin/mkinitrd -m /boot/initrd-2.6.5 2.6.5custom >> >>.. but keep getting referred to the 'man mkinitrd' file which I've read >>a few times but can't see the error. >> >>What am I missing ? The hyphen ? >> >>Re. adsl - I'm using TelstraClear cable - in NZ it's the underdog to >>Telecom, the local monopolist, and has used >>creative pricing strategies to take market share, although recently >>(probably under the influence of the new 'Jefe', >>Senor Trujillo) prices are going up and download limits reduced ... >> >>The Gentoo liveCD kept giving the message >> >>"The root password on this system has been auto-scrambled for security" >>I could not get into root from the GUI >>however Ctr-Alt-F1 got me into init 3 as root and I proceeded from there. >> >>Adam. >> >> >Hi Adam, >Yes Gentoo does scramble the root password, however at the prompt type as >follows:- >passwd root ><type in new root password> press enter ><type in new password again> press enter >You are now in superdestruct mode. > >You must type this in as is including /-/ >/usr/sbin/mkinitrd -m /boot/initrd-2.6.5 2.6.5custom >try the compilation of initrd with this.>--with=module< >with the module name of the scsi controller. >I will tell you why: > >On installing Mandrive on the first boot drive. The install process probed the >Promise raid controller first, The scsi card(with only a cd/rw on it) second >and found my first boot drive 3rd. >So install went onto /dev/sdc the raid being /dev/sda, /dev/sdb >grub was installed on /dev/sdc. >On reboot /dev/sda my 1st disk booted, grub then tried to setup from /dev/sdc >but could not since initrd had not loaded. Soooo I did not have /dev/sda >and /dev/sdb as my raid system, So i get kernel panic. > >Tell you what , remove the scsi controller and see what happens........ >Try this immediately . and let me know what happens >Gerald > > > > Thanks Gerald.
When I try '/usr/sbin/mkinitrd -o /boot/initrd-2.6.5 2.6.5custom' I get told '/usr/sbin/mkinitrd: /etc/mkinitrd/mkinitrd.conf: Configuration file not found'. On writing 'mkinitrd.conf' I discover /etc/mkinitrd is missing so I mkdir an empty one. Nevertheless, I have no /etc/mkinitrd/etc, /etc/mkinitrd/files, /etc/mkinitrd/modules, or /etc/mkinitrd/ scripts .. .. back to the Gentoo live CD for my next attempt - I'll try to copy their setup if they have one. This all started with a 'kernel panic' during 'make install' for 'gnome-python-extras' .. last of the dependencies for 'scribes' in gome-files. Adam. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
