Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo start error[Solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 11:52 am    Post subject: Reply with quote

noppix linux # mount -v /dev/hda1 /boot
mount: you didn't specify a filesystem type for /dev/hda1
I will try all types mentioned in /etc/filesystems or /proc/filesystems
Trying #
Trying #vfat
mount: you must specify the filesystem type
Knoppix linux # mount -v | grep boot
Knoppix linux #
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 12:06 pm    Post subject: Reply with quote

Hmm, it should have mounted if it's formatted with ext2. Just to be sure, try this explicitly
Code:
# mount -v -t ext2 /dev/hda1 /boot

_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 12:07 pm    Post subject: Reply with quote

rsa4046 wrote:
Hmm, it should have mounted if it's formatted with ext2. Just to be sure, try this explicitly
Code:
# mount -v -t ext2 /dev/hda1 /boot


Knoppix linux # mount -v -t ext2 /dev/hda1 /boot
mount: block device /dev/hda1 is write-protected, mounting read-only
mount: cannot mount block device /dev/hda1 read-only
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 12:22 pm    Post subject: Reply with quote

I'm not sure why mount is unable to mount it read/write, perhaps something to do with the fact that you entered the chroot from Knoppix (I've never used Knoppix), or it's just not formatted correctly. You need to exit the chroot and find out what's going on: perhaps by default, Knoppix has mounted /dev/hda1 itself at another mount point before you entered the chroot (you can't mount devices at more than one point). Verify this by exiting the chroot session, then do
Code:
# mount -v
# fdisk -l

_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 12:27 pm    Post subject: Reply with quote

root@0[knoppix]# mount -v
/dev/root on / type ext2 (rw)
/ramdisk on /ramdisk type tmpfs (rw,size=813028k)
/UNIONFS on /UNIONFS type unionfs (rw,dirs=/ramdisk=rw:/KNOPPIX=ro:/KNOPPIX2=ro)
/dev/hdd on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/dev/cloop2 on /KNOPPIX2 type iso9660 (ro)
/UNIONFS/dev/pts on /UNIONFS/dev/pts type devpts (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
automount(pid2262) on /mnt/auto type autofs (rw,fd=4,pgrp=2262,minproto=2,maxproto=4)
/UNIONFS/dev/hda3 on /mnt/hda3 type ext3 (rw,nosuid,nodev)
/UNIONFS/dev/hda1 on /mnt/gentooboot type ext2 (rw)

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5 40131 83 Linux
/dev/hda2 6 255 2008125 82 Linux swap / Solaris
/dev/hda3 256 19457 154240065 83 Linux
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 12:39 pm    Post subject: Reply with quote

paradox6996 wrote:
root@0[knoppix]# mount -v
<snip>
Code:
/UNIONFS/dev/hda3 on /mnt/hda3 type ext3 (rw,nosuid,nodev)
/UNIONFS/dev/hda1 on /mnt/gentooboot type ext2 (rw)

<snip>
Code:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           5       40131   83  Linux
/dev/hda2               6         255     2008125   82  Linux swap / Solaris
/dev/hda3             256       19457   154240065   83  Linux

OK, it's already mounted, that's why mount attempts of /dev/hda1 within the chroot failed. Is the kernel there? Do
Code:
# ls -la /mnt/gentooboot

_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 12:41 pm    Post subject: Reply with quote

root@0[knoppix]# ls -la /mnt/gentooboot
total 2522
drwxr-xr-x 4 root root 1024 Aug 2 21:20 .
drwxr-xr-x 6 root root 1024 Aug 3 04:22 ..
-rw-r--r-- 1 root root 0 Apr 19 19:54 .keep
lrwxrwxrwx 1 root root 1 Aug 2 12:26 boot -> .
drwxr-xr-x 2 root root 1024 Aug 2 21:33 grub
-rw-r--r-- 1 root root 2555216 Aug 2 19:38 kernal-2.6.21-gentoo-r4
drwx------ 2 root root 12288 Aug 2 00:59 lost+found
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 12:46 pm    Post subject: Reply with quote

In your original grub listing, you had
Code:
root (hd0,0)
kernel /boot/kernel-2.6.21-gentoo-r4 root=/dev/hda3
But your actual kernel image filename is
Code:
-rw-r--r-- 1 root root 2555216 Aug 2 19:38 kernal-2.6.21-gentoo-r4
Note the misspelled kernal-2.6.21-gentoo-r4. This is why grub can't find the kernel image file. Either change the entry in grub.conf, or just rename the file
Code:
# mv -iv /mnt/gentooboot/kernal-2.6.21-gentoo-r4  /mnt/gentooboot/kernel-2.6.21-gentoo-r4
Then umount and reboot ... I think it will work then.

Edit: fixed typos
_________________
I love gentoo, but I am certainly no guru, despite what it says above.


Last edited by rsa4046 on Fri Aug 03, 2007 1:02 pm; edited 3 times in total
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 12:52 pm    Post subject: Reply with quote

Additional thought:
If this does not work, go back and use the gentoo CD to boot with, and follow previous instructions of 7 steps. Don't use Knoppix to do this; Knoppix gives you a running system from CD, but this is unnecessary overkill, and also potentially complicating, if you're only trying to install gentoo ...
_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 12:54 pm    Post subject: Reply with quote

wow, I changed it. I'll reboot now and see!
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
paradox6996
l33t
l33t


Joined: 01 Aug 2007
Posts: 914
Location: BFE CO

PostPosted: Fri Aug 03, 2007 1:03 pm    Post subject: Reply with quote

ya it worked but I don't have a gooey but I can figure that out later after I get some sleep. I just want to say thank you very much for helping me out for a long time that I have no idea how long it was!
_________________
Paradox(>")>

Everyone has to start somewhere, it just depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 633
Location: The Big H, a bit SSW

PostPosted: Fri Aug 03, 2007 1:10 pm    Post subject: Reply with quote

Congrats, glad it worked. To get GUI running, you'll need to install xorg-x11 (look over http://www.gentoo.org/doc/en/xorg-config.xml first, and know what kind of video card you have), and decide between kde or gnome. Good luck!
_________________
I love gentoo, but I am certainly no guru, despite what it says above.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum