View previous topic :: View next topic |
Author |
Message |
timop n00b
Joined: 07 Aug 2002 Posts: 59 Location: Finland
|
Posted: Thu Aug 08, 2002 7:51 am Post subject: should /boot be ext2 |
|
|
I have two harddrives in hda XP and hdb gentoo, and in hdb there is:
hda1 xp fat32
hdb1 /boot ext3
hdb2 swap
hdb3 / ext3
When trying configure grub I get error message :
#grub
grub> root (hd1,0)
filesystem type unknown partition type 0x6
grub> setup (hd1)
error 17: cannot mount selected partition
Code: |
menu.lst:
default 0
timeout 15
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3
title=XP
root (hd0,0)
chainloader +1 |
when booting after these two fails i get only GRUB_ and freeze.
So should hdb1 /boot be ext2 ? |
|
Back to top |
|
|
therobot Apprentice
Joined: 07 Jun 2002 Posts: 256 Location: Canada
|
Posted: Thu Aug 08, 2002 7:56 am Post subject: |
|
|
I use XFS for my boot partition, I also previously used ext3. |
|
Back to top |
|
|
neeyo n00b
Joined: 20 Jul 2002 Posts: 32
|
Posted: Thu Aug 08, 2002 8:47 am Post subject: |
|
|
If you used XP's disk manager or DOS fdisk to create your partitions, well ... they won't work. Use the fdisk on the boot cd to redo your partitions.
I use xfs for /, and ext3 for /boot. |
|
Back to top |
|
|
CoronaLover Retired Dev
Joined: 20 Jun 2002 Posts: 163 Location: Rosh-ha'ayin, Israel
|
Posted: Thu Aug 08, 2002 9:00 am Post subject: |
|
|
ext3 for /boot should work, I use it all the time. |
|
Back to top |
|
|
needlern1 Guru
Joined: 16 Jul 2002 Posts: 376 Location: Marietta, Ga 30068
|
Posted: Thu Aug 08, 2002 9:21 am Post subject: |
|
|
From a google search:
'Filesystem type is fat, partition type 0x6'
It appears that you did format using m$ fdisk or the xp's disk manager. You'll have to format using a linux fdisk as neeyo suggested above. |
|
Back to top |
|
|
timop n00b
Joined: 07 Aug 2002 Posts: 59 Location: Finland
|
Posted: Thu Aug 08, 2002 9:42 am Post subject: |
|
|
needlern1 wrote: |
It appears that you did format using m$ fdisk or the xp's disk manager. You'll have to format using a linux fdisk as neeyo suggested above. |
well i did partitions with XPs disk manager, but I didn't format with XP diskmanager. |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Thu Aug 08, 2002 11:31 am Post subject: |
|
|
Boot from your Gentoo CDROM and then something like:
Code: |
# fdisk /dev/hdb
Command (m for help): p
/dev/hdb1 1 7 56196 6 FAT16
/dev/hdb2 8 138 1052257 6 FAT16
/dev/hdb3 139 3649 28202107 6 FAT16
Command (m for help): t
Partition number (1-3): 1
Hex code (type L to list codes): 83
Command (m for help): t
Partition number (1-3): 2
Hex code (type L to list codes): 82
Command (m for help): t
Partition number (1-3): 3
Hex code (type L to list codes): 83
Command (m for help): p
/dev/hdb1 1 7 56196 83 Linux
/dev/hdb2 8 138 1052257 82 Linux swap
/dev/hdb3 139 3649 28202107 83 Linux
Command (m for help): w
|
should straighten out the partition types without data loss or a complete reinstall. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
|
timop n00b
Joined: 07 Aug 2002 Posts: 59 Location: Finland
|
Posted: Fri Aug 09, 2002 5:13 am Post subject: |
|
|
many thans Chris W !!
problem was in partitions and when running fdisk, linux partitions really was FAT16 I did convert like you told. Now it works ! |
|
Back to top |
|
|
|