- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- booting RH8.0 from scsi and lvm "/"
Operating System - Linux
1753787
Members
7271
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2002 10:17 PM
тАО12-10-2002 10:17 PM
booting RH8.0 from scsi and lvm "/"
Hello experts,
Sorry to elaborate a long story first because I couldn't find an exact match in your archive:
My machine(hp vectra vl):
AMD 133Mhz 64MB (just don't want to leave it in store room)
1x1GB built-in IDE HDD
1x4GB FW-SCSI HDD connected to PCI-SCSI controller
1xDDS Tape drive connected to PCI-SCSI controller
My setup:
RH 8.0 only
boot loader: GRUB in MBR /dev/sda
partition layout:
/dev/hda created as LVM device (/dev/vg01), no LV created
/dev/sda:
/boot created as ext3
the rest created as LVM with the following Logical Volume:
/ /dev/vg00/lvol1
swap /dev/vg00/lvol2
/usr /dev/vg00/lvol3
/home /dev/vg00/lvol4
/var /dev/vg00/lvol5
/opt /dev/vg00/lvol6
Installation complete without giving any error.
My problem 1:
After installation, system reboot & stop at GRUB>
My problem 2:
Tried boot from floopy failed, stop at RAMDISK ...
During installation, I also encounter many times of "DEBUG" dialog boxes when configuring the partitions, I have no choice but to click OK and reboot to try until success.
I have done all the above for more than 10 times and already tried the followings as well:
1. Tried LILO -> same message GRUB>
2. Tried dd if=/dev/zero of=/dev/hda count=10 -> OS not found
3. Tried install boot loader in MBR /dev/hda -> same message GRUB>
BTW, there should be no H/W problem because the devices has been installed with RH7.2 without problem (I put /boot in /dev/hda previously).
My questions:
1. I want to use the SCSI disk to contain all Linux OS without touching the IDE drive, how to make it booting Linux from SCSI disk?
2. Since /boot could not be in LVM, I leave it as ext3 and all other FS in LVM including "/". Is there any problem mounting "/" in LVM during booting?
Thank you in advance.
Sorry to elaborate a long story first because I couldn't find an exact match in your archive:
My machine(hp vectra vl):
AMD 133Mhz 64MB (just don't want to leave it in store room)
1x1GB built-in IDE HDD
1x4GB FW-SCSI HDD connected to PCI-SCSI controller
1xDDS Tape drive connected to PCI-SCSI controller
My setup:
RH 8.0 only
boot loader: GRUB in MBR /dev/sda
partition layout:
/dev/hda created as LVM device (/dev/vg01), no LV created
/dev/sda:
/boot created as ext3
the rest created as LVM with the following Logical Volume:
/ /dev/vg00/lvol1
swap /dev/vg00/lvol2
/usr /dev/vg00/lvol3
/home /dev/vg00/lvol4
/var /dev/vg00/lvol5
/opt /dev/vg00/lvol6
Installation complete without giving any error.
My problem 1:
After installation, system reboot & stop at GRUB>
My problem 2:
Tried boot from floopy failed, stop at RAMDISK ...
During installation, I also encounter many times of "DEBUG" dialog boxes when configuring the partitions, I have no choice but to click OK and reboot to try until success.
I have done all the above for more than 10 times and already tried the followings as well:
1. Tried LILO -> same message GRUB>
2. Tried dd if=/dev/zero of=/dev/hda count=10 -> OS not found
3. Tried install boot loader in MBR /dev/hda -> same message GRUB>
BTW, there should be no H/W problem because the devices has been installed with RH7.2 without problem (I put /boot in /dev/hda previously).
My questions:
1. I want to use the SCSI disk to contain all Linux OS without touching the IDE drive, how to make it booting Linux from SCSI disk?
2. Since /boot could not be in LVM, I leave it as ext3 and all other FS in LVM including "/". Is there any problem mounting "/" in LVM during booting?
Thank you in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2002 03:18 AM
тАО12-11-2002 03:18 AM
Re: booting RH8.0 from scsi and lvm "/"
Hello,
This is a complex issue as it involves the following :
=> Booting a scsi device via a PCI scsi controller.
This is possible if the SCSI controller has its own BIOS. Hence, the first time you boot you may need to press something on the keyboard to enter the SCSI card's BIOS setup. Then make your it is properly configured (selection of BOOT device, no SCSI ID conflict between the disk and the tape drives, ...).
If your SCSI controller have no BIOS, then you MUST boot on the internal IDE driver. This means MBR + /boot !!!
Why /boot ? Because at the boot time, the BIOS does not know how to address SCSI devices, so it cannot read the Linux kernel code located in /boot on the SCSI device.
=> Boot with root filesystem on LVM device.
This should be OK if you load the "lvm-mod.o" driver in the initial ramdisk, and if you instruct the kernel properly to switch between the ramdisk and the real root device.
On you ramdisk, you may have something like this :
insmod
insmod scsi_mod.o
insmod sd_mod.o
insmod lvm-mod.o
...
...
mount /proc
...
...
vgscan
vgchange -a y
...
...
mkrootdev
echo >/proc/sys/kernel/real-root-dev
mount
...
umount /proc
pivot_root
Something may be wrong in this sequence.
If you need more help on this, please do the following :
* Boot your RedHat installation CD, follow the instructions until the keyboard is properly selected
* Open a shell (CTRL-ALT-F2).
mkdir /test
mknod /dev/sda b 8 0
mknod /dev/sda1 b 8 1
mount -t ext3 /dev/sda1 /test
mkdir /floppy
mknod /dev/fd0 b 2 0
mount -t msdos /dev/fd0 /floppy
cp -p /test/ /floppy
umount /floppy
umount /test
reboot
Then post the initrd file collected. I'll try to find what is wrong.
Good luck.
Kodjo
This is a complex issue as it involves the following :
=> Booting a scsi device via a PCI scsi controller.
This is possible if the SCSI controller has its own BIOS. Hence, the first time you boot you may need to press something on the keyboard to enter the SCSI card's BIOS setup. Then make your it is properly configured (selection of BOOT device, no SCSI ID conflict between the disk and the tape drives, ...).
If your SCSI controller have no BIOS, then you MUST boot on the internal IDE driver. This means MBR + /boot !!!
Why /boot ? Because at the boot time, the BIOS does not know how to address SCSI devices, so it cannot read the Linux kernel code located in /boot on the SCSI device.
=> Boot with root filesystem on LVM device.
This should be OK if you load the "lvm-mod.o" driver in the initial ramdisk, and if you instruct the kernel properly to switch between the ramdisk and the real root device.
On you ramdisk, you may have something like this :
insmod
insmod scsi_mod.o
insmod sd_mod.o
insmod lvm-mod.o
...
...
mount /proc
...
...
vgscan
vgchange -a y
...
...
mkrootdev
echo
mount
...
umount /proc
pivot_root
Something may be wrong in this sequence.
If you need more help on this, please do the following :
* Boot your RedHat installation CD, follow the instructions until the keyboard is properly selected
* Open a shell (CTRL-ALT-F2).
mkdir /test
mknod /dev/sda b 8 0
mknod /dev/sda1 b 8 1
mount -t ext3 /dev/sda1 /test
mkdir /floppy
mknod /dev/fd0 b 2 0
mount -t msdos /dev/fd0 /floppy
cp -p /test/
umount /floppy
umount /test
reboot
Then post the initrd file collected. I'll try to find what is wrong.
Good luck.
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2002 05:23 PM
тАО12-11-2002 05:23 PM
Re: booting RH8.0 from scsi and lvm "/"
Thanks Kodjo. I will reconfigure my system back to the above config. since I have tried out so many other options. Then, I will upload the required file.
FYI, I have changed the PCI-SCSI boot rom to boot from SCSI device ID=2, which is the 4GB SCSI HDD. However, there's no option menu to choose to boot from floopy/CD/hdisk in PC BIOS (it's an old PC anyway).
Meanwhile, I will give u 4 points for your effort in taking time to read my long grandfather story and help troubleshooting. Hope u will continue to assist to solve my problem. Stay tuned!
FYI, I have changed the PCI-SCSI boot rom to boot from SCSI device ID=2, which is the 4GB SCSI HDD. However, there's no option menu to choose to boot from floopy/CD/hdisk in PC BIOS (it's an old PC anyway).
Meanwhile, I will give u 4 points for your effort in taking time to read my long grandfather story and help troubleshooting. Hope u will continue to assist to solve my problem. Stay tuned!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP