move USB /root to SATA??
I installed Ubuntu Ibex on an external HD (USB2) that has been working well. But now I want to improve performance by attaching the hard drive to the SATA.
If I boot off the Ubuntu install disc, is there something I can edit to have the bootloader reference the drive while it's connected to SATA instead of the USB? I've already tried just connecting the drive to SATA and then specifying in bios to boot from the HDD on SATA. Didn't work. Any suggestions greatly appreciated. di11rod |
Just remove the usb drive during boot. It will be boot from the sata hard disk.
|
Hello di11rod :)
Which bootloader are you using? grub? If so, what do the lines of /boot/grub/menu.lst look like, the ones that made ubuntu boot when it was a USB device? Do you have only the one HDD in the system? Best Charles |
Thanks for the advice. I don't know what bootloader is being used. I just did a default clean install of Ubuntu Intrepid Ibex.
Disconnecting the USB drive, and putting the HD on the SATA chain (it is the only drive) doesn't seem to work for booting. Bios settings have been altered to reflect the change, too. Maybe the system is using grub. Here is the file you asked about. Appreciatively, di11rod Quote:
|
Hello di11rod :)
What do you see when you tried? First off you should see all the BIOS messages, then the BIOS should run the first stage of grub from the hard disk. That's a very small program, just enough to find grub second stage and start it. grub is powerful and so complex; the easiest explanation of grub I know is at http://www.dedoimedo.com/computers/grub.html. Start with the "How does GRUB work?" section. The messages you see on screen will show how far that process is getting before it fails. Best Charles |
Booting off the Ubuntu install disc, you should be able to get into the grub shell, and enter the root, kernel, and initrd lines in manually. Then enter the 'boot' command. This will boot up your Ubuntu installation. You could fix it from there, or you can update the MBR of the disk from the grub shell directly.
Here is the default entry on my laptops menu.lst file. Yours doesn't seem to have a root command that I can see. It does have the line "uuid 9e876903-0838-44cf-9318-ab3d9b296335". I don't understand this because a device like /dev/sda (a.k.a. (hd0)) doesn't have a filesystem, and thus doesn't have a uuid number. It doesn't look like grub is installed to the MBR of the disk. Are you chain loading it? Code:
title openSUSE 11.1 - 2.6.27.23-0.1 (default) In the grub shell, you can locate the partition with the /boot directory by entering: grub> find /boot/grub/stage1 (hd0,5) To update the MBR of the drive, I would enter: root (hd0,5) setup (hd0) Now you should be able to boot up normally, after fixing up the menu.lst file and /etc/fstab. If /etc/fstab uses UUID or device path entries, it may not need to be changed. If it names the partitions like "/dev/sdb1", then they will be wrong. You can use one of these two ways to avoid this problem: Code:
/dev/disk/by-id/scsi-SATA_TOSHIBA_MK2049G_48CYT01OT-part7 /home ext3 acl,user_xattr 1 2 |
Excellent and detailed suggestions are greatly appreciated!! I'll try these routes when I get home.
Appreciatively, di11rod |
All times are GMT -5. The time now is 12:46 AM. |