Results 1 to 8 of 8
I removed my IBM laptop's hard disk (XP) and replaced it with a brand new 80Gb disk and successfully loaded Suse 9.3 on to this hard disk. When I boot ...
- 01-22-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
Can not boot Suse 9.3 from USB hard drive
I removed my IBM laptop's hard disk (XP) and replaced it with a brand new 80Gb disk and successfully loaded Suse 9.3 on to this hard disk. When I boot up, everything works great.
Now, I want to take the Suse hard disk and remove it from the internal disk bay and make it a USB hard disk so I can put my Windows XP hard disk back and control the boot up process via BIOS (boot from USB if installed, otherwise, boot from the XP hard disk.)
In order to prepare the USB hard disk, I peformed the following:
0. Plug in harddrive as USB; boot from Suse CD
1. fdisk -l to display the partitions (I have only swap /dev/sda1 and root /dev/sda2)
2. mkdir /mnt/sysimage
3. mount /dev/sda2 /mnt/sysimage
4. chroot /mnt/sysimage
5. edit /etc/sysconfig/kernel to modify the INTRD_MODULES to specify "reiserfs ehci-hcd ohci-hcd uhci-hcd usb-storage sd_mod"
6. mount -tproc none /proc
7. mkinitrd
8. shutdown -h now
When I attempt to reboot using the USB Linux harddrive, I get "No root device found; exiting to /bin/sh" and "sh: can't access tty; job control turned off".
Can anyone assist me in getting this Suse to boot from the USB hard disk ?
- 01-22-2007 #2
hi kwurl !
Welcome to the LinuxForums. post then contents of device.map and menu.lst files.
Code:less /boot/grub/menu.lst less /boot/grub/device.map
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-22-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
Well, when I have the unbootable USB Harddrive, I have only a "$" prompt and no access to any file systems.
So, I'll reboot from the CD and go into rescue mode and mount my root file system
device.map
(hd0) /dev/hda
menu.lst
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
title Linux
kernel (hd0,1)/boot/vmlinuz root-/dev/hda2 vga-0x314 selinux=0 splash=silent resume=/dev/hda1 elevator=cfg showopts
initrd (hd0,1)/boot/initrd
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noreume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd
- 01-22-2007 #4
i am a bit confused. according to device.map file, your Harddisk is IDE PATA
but you wrote that its SATA.device.map
(hd0) /dev/hda
which harddisk do you have?1. fdisk -l to display the partitions (I have only swap /dev/sda1 and root /dev/sda2)
2. mkdir /mnt/sysimage
3. mount /dev/sda2 /mnt/sysimage
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-22-2007 #5Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
Good catch. Maybe that's why I can't boot ?
As mentioned, I started out with this hard disk as internal IDE and installed Linux. Then, I removed the hard disk, put into a USB tray and plugged it into my computer...so, essentially, I started out with this disk as an IDE and now want to boot from it as a USB. How can I use the Linux already loaded on this hard drive and convert it to a USB bootable hard disk ? Thanks.
- 01-22-2007 #6
boot up from installation CD, enter in rescue mode and mount root file system
edit device.map and menu.lst files.
if nano doesn't work, use pico or vi.Code:nano /boot/grub/device.map nano /boot/grub/menu.lst
contents of device.map file
menu.lst fileCode:(hd0) /dev/sda
save files and reboot.. check if it works...Code:color white/blue black/light-gray default 0 timeout 8 gfxmenu (hd0,1)/boot/message title Linux kernel (hd0,1)/boot/vmlinuz root-/dev/sda2 vga-0x314 selinux=0 splash=silent resume=/dev/sda1 elevator=cfg showopts initrd (hd0,1)/boot/initrd title Failsafe kernel (hd0,1)/boot/vmlinuz root=/dev/sda2 showopts ide=nodma apm=off acpi=off vga=normal noreume selinux=0 barrier=off nosmp noapic maxcpus=0 3 initrd (hd0,1)/boot/initrd
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-22-2007 #7Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
Casper. thanks. yeah, that worked. My system is now booting from the USB drive, and I learned a bit about drive naming. Thanks.
- 01-22-2007 #8
ahaa ! i am glad i could help you.

CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote