ultrabay linux install

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
alfio
Junior Member
Junior Member
Posts: 326
Joined: Tue Feb 21, 2006 11:43 pm
Location: bloomington, in

ultrabay linux install

#1 Post by alfio » Mon Jun 02, 2008 9:56 am

hi all

i'm back to trying linux and, surprise, i'm a bit confused.

here's what id' like to do: set up a debian etch install on a separate HD to be accessed via ultrabay. i would like the laptop to boot (without grub) directly to the XP install on the main HD and, from F12 selection via grub to the debian install. i know many of you will say that grub is fine and that this is silly, and i understand that, but it's just not what i want/need on this unit.

so far i have installed debian when my drive #2 was in the main HD slot and moved it into the ultrabay. i understand there are three files that need to be corrected in order to reflect this change: /etc/fstab, /boot/grub/device.map, and /boot/grub/menu.lst

is that correct? if so, what should i be looking to replace and what should it be replaced with? thanks

alfio

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#2 Post by aaa » Mon Jun 02, 2008 8:56 pm

Note, if menu.lst and fstab use the UUID to find partitions, then you might be able to get away with only modifying device.map or menu.lst (one of them, forgot which). Less edited files = easier to recover from mistake.


If they are not using the UUID and have stuff in fstab like "/dev/sda1 / ........." instead of "UUID=54fa3..... / ........", then see what needs to be changed below:

in /etc/fstab you will want to update the device names for "/" and swap. Probably along the lines of changing sda1 -> sdb1, if I'm guessing the device names correctly.

Not sure what device.map would be for... it seems redundant since equivalent changes can probably be made in menu.lst.

menu.lst : the "root" lines, like "root (hd0,0)", may or may not need to be changed depending on what you do to device.map. Then you change other things like "root=/dev/sda1" to "root=/dev/sdb1".

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest