Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
should /boot be ext2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
timop
n00b
n00b


Joined: 07 Aug 2002
Posts: 59
Location: Finland

PostPosted: Thu Aug 08, 2002 7:51 am    Post subject: should /boot be ext2 Reply with quote

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
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Thu Aug 08, 2002 7:56 am    Post subject: Reply with quote

I use XFS for my boot partition, I also previously used ext3.
Back to top
View user's profile Send private message
neeyo
n00b
n00b


Joined: 20 Jul 2002
Posts: 32

PostPosted: Thu Aug 08, 2002 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Thu Aug 08, 2002 9:00 am    Post subject: Reply with quote

ext3 for /boot should work, I use it all the time.
Back to top
View user's profile Send private message
needlern1
Guru
Guru


Joined: 16 Jul 2002
Posts: 376
Location: Marietta, Ga 30068

PostPosted: Thu Aug 08, 2002 9:21 am    Post subject: Reply with quote

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
View user's profile Send private message
timop
n00b
n00b


Joined: 07 Aug 2002
Posts: 59
Location: Finland

PostPosted: Thu Aug 08, 2002 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Thu Aug 08, 2002 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
timop
n00b
n00b


Joined: 07 Aug 2002
Posts: 59
Location: Finland

PostPosted: Fri Aug 09, 2002 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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