Author Topic: hard drives  (Read 669 times)

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
hard drives
« on: 24 June 2002, 21:51 »
i have 2 hard drives both on the same ide cable. the cable is in the main ide slot. i need to know what the 2 hard drives would be call i believe the master would be hda and the slave hda1 but i am not sure. i need to know this so i can edit my lilo.conf to be able to boot off the second hard drive
you know its a bad day when you look more sober then usual

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
hard drives
« Reply #1 on: 24 June 2002, 22:29 »
i figured it out it is hdb. but now the second hd is set up as first partion /boot, second partion swap, and third partion /, in lilo would i put
other=/dev/hdb3
label="suse"

would that allow me to boot suse of hdb
you know its a bad day when you look more sober then usual

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
hard drives
« Reply #2 on: 24 June 2002, 22:48 »
depends if you want it to boot from / or /boot
why do you have a /boot partition on there anyway? i don't have one but i don't know.

hdb3 is right for if you want to boot from yr third partition, but hdb1 is right if you want to boot from /boot. Anybody add anything?
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
hard drives
« Reply #3 on: 25 June 2002, 00:31 »
Calum, it is best to use a /boot partition.  Even if you don't put "/boot" on a separate partition most distros still create that directory and put the kernel, the initrd and other boot stuff there.  On older RedHat releases it was actually called "/bpart" but they changed the name to /boot.  Most systems, even BSD are set up this way.  If they don't name the directory/partition "/boot" it is some similar name that serves the same purpose.  The reason it is good to have a boot partition is because some boot loaders have a hard time booting if the kernel is more than 1024 cylinders from the beginning of the drive and with todays larger drives that is a good possibility.

[edit] and obviously you want to put the small /boot partition as the first partition on the drive, or as close to the beginning of the drive as possible.

[edit2] even NT can have problems booting from a large system drive under certain conditions, normally on NT servers you create a smaller system partition (C: @ ~2GB) and create larger non-bootable partitions.

[ June 24, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
hard drives
« Reply #4 on: 25 June 2002, 00:35 »
quote:
Originally posted by wild_jester:
i figured it out it is hdb. but now the second hd is set up as first partion /boot, second partion swap, and third partion /, in lilo would i put
other=/dev/hdb3
label="suse"

would that allow me to boot suse of hdb



That's exactly the scheme I use on all of my desktop Linux installs.  "/boot" @ 50MB as the first partition. SWAP on the second partition, and "/" as the third partition.
Someone please remove this account. Thanks...