Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot partition noob question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
rolandmw
n00b
n00b


Joined: 12 Aug 2004
Posts: 7

PostPosted: Thu Aug 12, 2004 12:29 pm    Post subject: /boot partition noob question Reply with quote

Hi..

I'm kinda confused as to whether you need a seperate /boot partition as well as a seperate / partition on an Ultra 10 or not. I thought I read in the install manual that it is not recommended on a sparc system.

The reason I'm asking is that I'm having some trouble booting after completing the install. I get some error saying the root= is not defined correctly.

here is my config

-----------------------------------------------------------------------------------
livecd root # fdisk /dev/hda

Command (m for help): p

Disk /dev/hda (Sun disk label): 15 heads, 63 sectors, 8892 cylinders
Units = cylinders of 945 * 512 bytes

Device Flag Start End Blocks Id System
/dev/hda1 0 1058 499905 83 Linux native
/dev/hda2 1058 2116 499905 82 Linux swap
/dev/hda3 0 8892 4201470 5 Whole disk
/dev/hda4 2116 8892 3201660 83 Linux native
--------------------------------------------------------------------------------------

livecd root # fdisk /dev/hdb

Command (m for help): p

Disk /dev/hdb (Sun disk label): 16 heads, 63 sectors, 16706 cylinders
Units = cylinders of 1008 * 512 bytes

Device Flag Start End Blocks Id System
/dev/hdb1 0 1938 976752 83 Linux native
/dev/hdb2 u 1938 3876 976752 83 Linux native
/dev/hdb3 0 16706 8419824 5 Whole disk
/dev/hdb4 3876 8720 2441376 83 Linux native
/dev/hdb5 8720 14533 2929752 83 Linux native
--------------------------------------------------------------------------------------

fstab

/dev/hda1 / ext2 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /home ext2 noatime 0 0
/dev/hdb4 /var ext2 noatime 0 0
/dev/hdb5 /usr ext2 noatime 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0

-------------------------------------------------------------------------------------
/boot/silo.conf

partition = 1
root = /dev/hda1
timeout = 10
image = /boot/kernel-2.4.26
label = linux


--------------------------------------------------------------------------------------




Thanks,
Roland
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Fri Aug 13, 2004 1:16 am    Post subject: Reply with quote

isnt root normally /dev/hda3?
Well if you followed the handbooks default that should be, or isnt that the case with sparc handbook?
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Fri Aug 13, 2004 10:05 am    Post subject: Reply with quote

Marctraider wrote:
isnt root normally /dev/hda3?
Well if you followed the handbooks default that should be, or isnt that the case with sparc handbook?

:roll:
mt, root can be any partition you defined, in his case, it's /dev/hda1 :lol:
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Fri Aug 13, 2004 11:01 am    Post subject: Reply with quote

I know, but since you are a newcomer i thought you would have did it like the handbook :P
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
rolandmw
n00b
n00b


Joined: 12 Aug 2004
Posts: 7

PostPosted: Fri Aug 13, 2004 11:30 am    Post subject: Reply with quote

fortunately I did do it like the manual... thats the problem.. .the beginning of the manual advocates not using a /boot partition... (see 4.b) and they also have the / on the first partition ( like the previous poster said... it shouldnt matter) (see 4.c)

when you get to the fstab config portion, they totally ignore what was setup in chapter 4... where chapter 4 uses scsi devices and chapter 8 uses ide drives...

Thats where I'm confused.. to /boot or not to /boot...



Thanks :wink:
Back to top
View user's profile Send private message
raderjm
n00b
n00b


Joined: 04 Feb 2004
Posts: 33
Location: SC

PostPosted: Fri Aug 20, 2004 2:30 pm    Post subject: Reply with quote

Yeah the install manual wasnt very consistent :( I to am having the same problem.

I partitioned /dev/sda according to the install manual...

Now Im a bit confused on how my fstabs should look as well as the config that I need for the silo.conf in the /boot/ directory

when I boot the live cd I mount the file systems as follows:

mount /dev/sda1 /mnt/gentoo
mount /dev/sda4 /mnt/gento/usr
mount /dev/sda5 /mnt/gentoo/var
mount /dev/sda6 /mnt/gentoo/home
mount -t proc none /mnt/gentoo/proc
swapon /dev/sda2

If anyone could shine some light on the way that I need to setup my fstab... that would be greatly appreciated!

my /boot/silo.conf looks like the followinig, please tell me if this looks right:

partition = 1
root = /dev/sda1
timeout = 150
image = /boot/kernel-2.4 #this is what I named my kernel - based off the liveCD configuration
label = Gentoo
Back to top
View user's profile Send private message
AdWitt
n00b
n00b


Joined: 21 Aug 2004
Posts: 2

PostPosted: Sat Aug 21, 2004 4:46 am    Post subject: Reply with quote

I'm currently in the process of building a box with the current online instructions, so I may be able to offer more insight in a couple of days, but here are a couple of things I noticed.

First, your swap partition is not defined as Linux Swap. I have no idea if this is causing your problem. But you should probably run fdisk and change the partition type. Then run "mkswap /dev/hdb2".

As for your boot partition, what does you /etc/silo.conf look like? The system I have been running has a separate boot partition. But my man page for silo points to the /etc/silo.conf.
_________________
~A.
Back to top
View user's profile Send private message
AdWitt
n00b
n00b


Joined: 21 Aug 2004
Posts: 2

PostPosted: Sat Aug 21, 2004 4:49 am    Post subject: Reply with quote

One more thing. . .

In my fstab, I have:
none /proc/openprom openpromfs defaults 0 0

Though I seem to remember I had some difficulties getting /proc to work correctly when I first built this box.
_________________
~A.
Back to top
View user's profile Send private message
L202
n00b
n00b


Joined: 01 Sep 2003
Posts: 12

PostPosted: Sun Aug 22, 2004 10:31 pm    Post subject: Reply with quote

I'm using a boot partition on a Sun UltraSparc AXi 333. Not sure if that's a good idea or not...works for me. :D
_________________
- L202
Back to top
View user's profile Send private message
elstocke
n00b
n00b


Joined: 24 Aug 2004
Posts: 1

PostPosted: Tue Aug 24, 2004 7:12 pm    Post subject: Reply with quote

I've built 2 Sparc machines, 1 U60 and the other U5. Here is my fstab config:

/dev/sda1 / ext2 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /usr ext3 defaults 0 1
/dev/sda5 /var ext3 defaults 0 1
/dev/sda6 /home ext3 defaults 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
none /proc proc defaults 0 0
none /proc/openprom openpromfs defaults 0 0
none /dev/shm tmpfs defaults 0 0

The gentoo docs were a little inconsistent because they were using the same docs for the Intel platform and just rewriting sections that pertained to the Sun hardware, hence the problems with the fstab examples being IDE.

Usually /dev/hda3 or /dev/sda3 is a special slice that you do not want to touch nor fstab and silo should not point to this partition.

In regards to whether to use a /boot partition, in the early days lilo had difficulty in reading large hard drives (2gb+) hence the reason for a /boot partition. But today it's not necessary to use a /boot partition. I don't know about silo if there is an issue with having a /boot part but I opted not to use a /boot anyways but from what I read it should cause any problems as some have used it.

AdWitt your silo.conf looks fine to me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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