


Code: Select all
* Failed to set system clock to hardware clock
* ERROR: Problem starting needed services.
* "bootmisc" was not started.Code: Select all
emerge --update worldCertainly not! Grub is a bootloader. In case you hadn't noticed... if you are installing coLinux, Windows has already bootedsnl wrote:I've just install coLinux + Gentoo.
Do I need to install Grub?
emerge -u world is still running after more than 15 hours. Does it normally take this long? Should I keep it running or should I stop it with Ctrl-C? Is it safe to stop it?Gherald wrote:emerge -u world is fine but you might run out of space if you are using the default 2G image... if so delete the contents of /usr/portage/distfiles, /var/tmp/portage and resume.
see: http://wiki.colinux.org/cgi-bin/GentooTATAt boot, I always get the following error
Code:
* Failed to set system clock to hardware clock
* ERROR: Problem starting needed services.
* "bootmisc" was not started.
How to solve it?
Thanks for your help. I will try that. I tried searching for several days. I saw many posts mentioning about /dev/rtc but I don't have that file. Does it matter? Do I need that file?royw wrote:see: http://wiki.colinux.org/cgi-bin/GentooTATAt boot, I always get the following error
Code:
* Failed to set system clock to hardware clock
* ERROR: Problem starting needed services.
* "bootmisc" was not started.
How to solve it?
HTH,
Roy
Code: Select all
echo -e "Detected running kernel version `uname -r`"
echo -e "Adjusting /etc/fstab accordingly..."
echo
mount -o rw,remount /
if uname -r | grep -e "-co-" >/dev/null
then
echo "Normal kernel detected"
cp /etc/fstab.default /etc/fstab
else
echo "coLinux kernel detected"
cp /etc/fstab.colinux /etc/fstab
fi
mount -o ro,remount /
Code: Select all
Determining /, Found.
Mounting /mount: Mounting /dev/cobd0 on /mnt/linux failed: No such device
Installing modules for coLinux 2.6.10-co-0.6.2, Done.
Closing /, Done.
VFS: Cannot open root device "cobd0" or unknown-block(117,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(117,0)
Code: Select all
VFS: Mounted root (ext2 filesystem).
VFS: Cannot open root device "cobd/0" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Code: Select all
VFS: Mounted root (ext2 filesystem).
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on cobd0, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 104k freed
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on cobd0, internal journal
Restarting system.Code: Select all
VFS: Mounted root (ext2 filesystem).
EXT3 FS on cobd0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Trying to move old root to /initrd ... kjournald starting. Commit interval 5 se
conds
failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 104k freed
EXT3 FS on cobd0, internal journal
Restarting system.Code: Select all
VFS: Mounted root (ext3 filesystem).
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 104k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
This is me again. I thought it might be useful to mention my disk layout and default.colinux.xml file.zopilote17 wrote:Forgive the totally noob questions... but I cannot even get my Gentoo Linux partition to boot...
Code: Select all
[Primary Partition 1: Windows XP]
[Primary Partition 4: Gentoo Linux Boot]
[Primary Partition 3: Gentoo Linux Root]
[Primary Partition 2: Extended Partition:
[Logical Partition (5): Linux Swap]
[Logical Partition (6): FAT32 Work partition]
[Logical Partition (7): FAT32 Media partition]
[Logical Partition (8): FAT32 Backup partition]
]Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<colinux>
<!-- Linux root partition -->
<block_device index="0" path="\Device\Harddisk0\Partition2" enabled="true"/>
<!-- Linux swap partition -->
<block_device index="1" path="\Device\Harddisk0\Partition4" enabled="true"/>
<!-- This line specifies the boot partition for Linux, although I currently
don't see a need to mount it or use it from within coLinux... -->
<!-- <block_device index="2" path="\Device\Harddisk0\Partition3" enabled="true"/> -->
<!-- bootparams allows you to pass kernel boot parameters -->
<bootparams>root=/dev/cobd0</bootparams>
<!-- Initial RamDISK (initrd) support -->
<initrd path="initrd.gz" />
<!-- image allows you to specify the kernel to boot -->
<image path="vmlinux" />
<!-- this line allows you to specify the amount of memory available
to coLinux -->
<memory size="192"/>
<!-- This allows you to modify networking parameters, see the README
or website or wiki for more information -->
<network index="0" type="tap" name="coLinux TAP Connection"/>
</colinux>

I finally got things working on my own. Just for the next person who may have the same problem, here is my XML configuration file:zopilote17 wrote:This is me again. I thought it might be useful to mention my disk layout and default.colinux.xml file.zopilote17 wrote:Forgive the totally noob questions... but I cannot even get my Gentoo Linux partition to boot...
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<colinux>
<!-- Root partition -->
<block_device index="0" path="\Device\Harddisk0\Partition2" enabled="true"/>
<!-- Swap partition -->
<block_device index="1" path="\Device\Harddisk0\Partition4" enabled="true"/>
<!-- bootparams allows you to pass kernel boot parameters -->
<bootparams>root=/dev/cobd/0</bootparams>
<!-- Initial RamDISK (initrd) support -->
<initrd path="initrd.gz" />
<!-- image allows you to specify the kernel to boot -->
<image path="vmlinux" />
<!-- this line allows you to specify the amount of memory available to coLinux -->
<memory size="192"/>
<!-- This allows you to modify networking parameters, see the README
or website or wiki for more information -->
<network index="0" type="tap" name="coLinux TAP Connection"/>
</colinux>
Code: Select all
/dev/cobd0 / ext3 noatime 0 1
/dev/cobd1 none swap sw 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

After I ran "emerge --update --deep --newuse world", interestingly, /dev/cobd0 no longer worked. Instead, I had to switch my fstab to /dev/cobd/0.zopilote17 wrote:And the other odd thing: in Gentoo's fstab file, which I had been told would use the /dev/cobd/0 convention, I actually had to use /dev/cobd0 instead! So it seems backwards.
Code: Select all
<block_device index="0" path="\Device\Harddisk0\Partition1" alias="sda1" enabled="true"/>