Re: [FIXED] Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-10 Thread Travis Osterman
I am a jfs user as well and would recommend (especially on a laptop)
to add the line that was recommended above:

 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2

to the bottom of your /boot/grub/grub.conf.  Often when I hard reboot
(power failures, etc), reading the bootsplash stuff seems to take
priority over checking the fs.  The simple solution for me is to leave
a non-nonsense 'failsafe' line in grub and boot into it so that my fs
gets repaired and then reboot normally.  You could achieve the same
thing by editting the grub command at boot, but this seems like a
simple alternative.  HTH.

-- Travis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
* on the Fri, Mar 10, 2006 at 12:24:58PM +1100, TN said:
snip

 The grub boot lines are:
 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
 initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

I think I read somewhere that JFS needs to be booted rw instead of ro.
Try to change your kernel= line to this:

kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 rw

*NOTE* the above should be ONE line.

P.S.  Why didn't you try ReiserFS or ext3?  I have always used reiserfs
without issue and find it to be very stable and very fast.

Jim
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Sarpy Sam
On 3/9/06, TN [EMAIL PROTECTED] wrote:
 I'm attempting to install Gentoo with the GUI livecd 2006 utility, and
 I'm installing it on a laptop which was dual booting happily with debian
  winxp.

 I wiped the debian installation, and carefully made sure that Gentoo
 wasn't going to wipe out the winxp partition which is the first. I made
 /dev/hda2 one partition for gentoo, and it's JFS.

 The installation process finished without errors, but when I reboot the
 machine I have 2 problems:

 (i) the grub installation doesn't show the winxp entry (easy enough
 fixed, but still an installation bug)

 (ii) gentoo starts booting, but fails when trying to mount the root device.
   Determining root device...
   Mounting root...
 mount : Mounting /dev/hda2 on /newroot failed: Invalid argument
 !! Could not mount specified ROOT, try again
 !! The root block device is unspecified or not detected.


 The grub boot lines are:
 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
 initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

 This was how the installer set it up, so what needs to change to fix it ?

 thanks!

From the gentoo handbook located here
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10

Note: If your root filesystem is JFS, you must add  ro to the kernel
line since JFS needs to replay its log before it allows read-write
mounting.

I don't use JFS so I dobn't know exactly how to do it but this is what
I got from searching google.

Kirby

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim wrote:
 * on the Fri, Mar 10, 2006 at 12:24:58PM +1100, TN said:
 snip

 The grub boot lines are:
 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
 initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

 I think I read somewhere that JFS needs to be booted rw instead of ro.
 Try to change your kernel= line to this:

 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2 rw

 *NOTE* the above should be ONE line.

 P.S.  Why didn't you try ReiserFS or ext3?  I have always used reiserfs
 without issue and find it to be very stable and very fast.

 Jim
I got it backwards.  Change the rw to ro like so:

kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 ro

Jim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEN+feqJ5Vbm4CxYRAh1rAJwKHftjbW/HYTuPjP4o7XX79iqg9ACfcT6F
2vFpERIygQVKVcc2xNejTc8=
=ZU8Y
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN

Jim wrote:

snip
I think I read somewhere that JFS needs to be booted rw instead of ro.
Try to change your kernel= line to this:

kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 rw


*NOTE* the above should be ONE line.

P.S.  Why didn't you try ReiserFS or ext3?  I have always used reiserfs
without issue and find it to be very stable and very fast.

Jim
  


I have tried both rw  ro since I had 2 different replies about this 
problem - unfortunately both failed with the same error as before.


I use JFS since I find that it's fast  stable too like Reiser. I tended 
to use a scattering of filesystems in the past so that I had experience 
of them all, but I'm gravitating towards JFS mostly now on my servers. 
I've done extensive speed testing using IOZone (http://www.iozone.org/) 
and for our systems, our drives, our application I just liked jfs. Not a 
lot between them all though apart from speed of file creation/deletion.


thanks
Trevor.


Send instant messages to your online friends http://au.messenger.yahoo.com 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 I have tried both rw  ro since I had 2 different replies about this
 problem - unfortunately both failed with the same error as before.

 I use JFS since I find that it's fast  stable too like Reiser. I
 tended to use a scattering of filesystems in the past so that I had
 experience of them all, but I'm gravitating towards JFS mostly now
 on my servers. I've done extensive speed testing using IOZone
 (http://www.iozone.org/) and for our systems, our drives, our
 application I just liked jfs. Not a lot between them all though
 apart from speed of file creation/deletion.

 thanks
 Trevor.
Did you try to boot from the livecd, or another boot cd, and see if
you can even mount your JFS partition?

Jim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEOxeeqJ5Vbm4CxYRApsdAJ9VGwyvgFzd0UcVVP4H89Rm8YWizwCeJ67S
XapNTue457pE2cDqY3DrdOg=
=v5sW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Sarpy Sam
I am assuming the kernel is built with JFS support compiled in and not
as a module.

I am not a genkernel user but couldn't you boot the machine like this,


root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2

This will test if it's a kernel problem or a boot splash problem.

Kirby

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN






Jim wrote:

  
evor.

  
  Did you try to boot from the livecd, or another boot cd, and see if
you can even mount your JFS partition?

Jim

  

Yes I have. It mounts fine when using the livecd to boot from. I can
read/write to it no problem, and all the file structure is there.
I've had a look at the bootlog with dmesg, and I'm now thinking that
the installed kernel doesn't have JFS modules/support in it..the
boot identifies the partitions (hda1, hda2 etc), but then it tries to
mount hda2 with almost every fs APART from my beloved jfs. It's tried
Reiser, XFS, ext2, ext3, vfs - everything but jfs.

OhI don't fancy another 6 hour install!!



Send instant messages to your online friends http://au.messenger.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN

Sarpy Sam wrote:

I am assuming the kernel is built with JFS support compiled in and not
as a module.

I am not a genkernel user but couldn't you boot the machine like this,


root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2

This will test if it's a kernel problem or a boot splash problem.

Kirby

  

I gave that a go , but still no luck. I'm having one of those days.

I think I'll reinstall using reiser - I thought that jfs would be fine 
since the installer gave me the option. I assume that had I done a 
network install that I probably would've got a kernel with jfs ? My 
install was completely from the live cd.


thanks!

Send instant messages to your online friends http://au.messenger.yahoo.com 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 Yes I have. It mounts fine when
using the livecd to boot from. I can
 read/write to it no problem, and all the file structure is there.
 I've had a look at the bootlog with dmesg, and I'm now thinking
that
 the installed kernel doesn't have JFS modules/support in
it..the
 boot identifies the partitions (hda1, hda2 etc), but then it
tries
 to mount hda2 with almost every fs APART from my beloved jfs.
It's
 tried Reiser, XFS, ext2, ext3, vfs - everything but jfs.

 OhI don't fancy another 6 hour install!!

 Send instant messages to your online friends
 http://au.messenger.yahoo.com -- gentoo-user@gentoo.org mailing
list 

Can you build a kernel? I could build a kernel for you with JFS
support and zip up the kernel image from /boot and everything under
/lib/modues.

Or see if you can use a boot CD to boot, then chroot to your JFS drive
and build your own kernel.

Jim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEQJaeqJ5Vbm4CxYRAnppAJ9qNlnsEhYZi9YMDfzOa1x88CdyEQCdF729
Byaw75q1y2+WTa8c+DmWMC0=
=Mm9v
-END PGP SIGNATURE-





Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN




Jim wrote:

  
  
  
Can you build a kernel?  I could build a kernel for you with JFS
support and zip up the kernel image from /boot and everything under
/lib/modues.
  
Or see if you can use a boot CD to boot, then chroot to your JFS drive
and build your own kernel.
  
Jim
  

Jim  Kirby:
I haven't built a kernel in gentoo, but I have plenty of times on other
distros (suse/debian) in the past.

thanks for your offer to build the kernel for me. I was just preparing
when I've corrupted  /dev/hda2 by my own dumb fault.I reset the
machine while /dev/hda2 was still mounted. It wont mount now. gah! I
havent' any time left today, so I'll leave it to tomorrow.

thanks  guys
-Trevor.



Send instant messages to your online friends http://au.messenger.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



[FIXED] Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN




TN wrote:

  
Jim wrote:
  



Can you build a kernel?  I could build a kernel for you with JFS
support and zip up the kernel image from /boot and everything under
/lib/modues.

Or see if you can use a boot CD to boot, then chroot to your JFS drive
and build your own kernel.

Jim

  
Jim  Kirby:
I haven't built a kernel in gentoo, but I have plenty of times on other
distros (suse/debian) in the past.
  
thanks for your offer to build the kernel for me. I was just preparing
when I've corrupted  /dev/hda2 by my own dumb fault.I reset the
machine while /dev/hda2 was still mounted. It wont mount now. gah! I
havent' any time left today, so I'll leave it to tomorrow.
  
thanks  guys
-Trevor.


Well thanks again guys, I now have a booting gentoo system. The
partition wasn't too damaged and I was able to build a jfs enabled
kernel.
Now to sort out my kde probs :)

cheers
-Trevor




Send instant messages to your online friends http://au.messenger.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



Re: [FIXED] Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 TN wrote:
 Jim wrote:

 Can you build a kernel? I could build a kernel for you
with JFS
 support and zip up the kernel image from /boot and
everything under
 /lib/modues.

 Or see if you can use a boot CD to boot, then chroot to
your JFS drive
 and build your own kernel.

 Jim

 Jim  Kirby:
 I haven't built a kernel in gentoo, but I have plenty of
times on
 other distros (suse/debian) in the past.

 thanks for your offer to build the kernel for me. I was just
 preparing when I've corrupted /dev/hda2 by my own dumb
 fault.I reset the machine while /dev/hda2 was still
mounted. It
 wont mount now. gah! I havent' any time left today, so I'll
leave
 it to tomorrow.

 thanks guys
 -Trevor.

 Well thanks again guys, I now have a booting gentoo system. The
 partition wasn't too damaged and I was able to build a jfs
enabled
 kernel.
 Now to sort out my kde probs :)

 cheers
 -Trevor
How long did it take you to build a kernel? It seemed pretty fast
since I emailed you.

An easy fix for your kde probs is to use Gome : )

Jim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEERc9eqJ5Vbm4CxYRAuh5AJ9KZrIWofYUVt0Ondh4FB0ykHSNUwCeKKqL
F3zpQnUrY42RSi8Xz7sPAbI=
=SKo6
-END PGP SIGNATURE-





Re: [FIXED] Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread TN

Jim wrote:


How long did it take you to build a kernel?  It seemed pretty fast
since I emailed you.

An easy fix for your kde probs is to use Gome : )

Jim


Damn quick I must say - about 15 mins. This laptop is a PentiumM 1.8.  
Gentoo boots damn fast too.
My KDE probs seems to be improving, just a few manual things I'm 
config'ing right now to get it all going. Fastest kernel compile I've 
done. I'll have to check it out, as I must've left out 70% of the 
modules to get that compile time :0


Yeah, I've been swapping between Gnome  KDE just as much as I swap 
between filesystems :)
At the moment I've been using KDE for about 3 months after being pretty 
much gnomed for 2 years or so.
So.to have the best of everything, we need a triple booting, WinXP 
(games), linux (KDE  GNOME), and OSX PC...they don't make 
laptop drives big enough :)




Send instant messages to your online friends http://au.messenger.yahoo.com 


--
gentoo-user@gentoo.org mailing list