LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2007, 05:47 PM   #1
linux_challenged
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Unhappy Running openSUSE 10.2 on usb external drive


Hi all!!!

This is a first time post from a very new linux user regarding startup problems I am having with suse on a Seagate FreeAgent 80 Gb usb drive.

I already have Windows XP Pro dual booting with Mandriva on my laptop and that setup is working just fine. I don't want to alter that at all.

As I am new to Linux and still in discovery mode, I want to install SUSE and maybe later Ubuntu on the usb hard drive so I can play around with the distros a bit.

I have installed suse on the usb hdd after pulling the internal hdd from the laptop I am using. BTW, the laptop is a Dell I6400 just a couple months old. I also changed the BIOS settings appropriately - CD,
usb, hdd...

The problem I am having is that, as long as I start suse with the internal hdd removed it opens up perfectly. When I install the internal hdd, the startup fails. It appears that it is freezing while trying to read the swap partition.

Since it does work without the internal hdd installed, I am sure it is something minor(I hope so anyways!!!) but I am so new I need a little help...

Anyone have any ideas?

thanx in advance...
 
Old 09-24-2007, 09:08 PM   #2
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
Lightbulb Linux Boot Files Must Represent All Attached Drives At Boot Time

First, I suggest you read my post on loading SuSE 10.0 on a Dell D610 Laptop:

http://www.linuxquestions.org/questi...d.php?t=426099

Next, take a look at my setup for booting SuSE 10.2 from an external USB hard drive on a desktop setup.

This is my MENU.LST File on the USB hard Drive

# Modified by YaST2. Last modification on Thu Jul 12 22:37:42 CDT 2007
default 0
timeout 30
gfxmenu (hd0,1)/boot/message
##YaST - activate

title openSUSE 10.2 - 2.6.18.8-0.5
root (hd0,1)
kernel /boot/vmlinuz-2.6.18.8-0.5-default root=/dev/sdb2 vga=0x317 resume=/dev/sdb1 splash=silent showopts
initrd /boot/initrd-2.6.18.8-0.5-default

title Failsafe -- openSUSE 10.2 - 2.6.18.8-0.5
root (hd0,1)
kernel /boot/vmlinuz-2.6.18.8-0.5-default root=/dev/sdb2 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off
initrd /boot/initrd-2.6.18.8-0.5-default

title SUSE Linux Enterprise Desktop 10 - 2.6.16.46-0.14
root (hd1,2)
kernel /boot/vmlinuz-2.6.16.46-0.14-default root=/dev/sda3 vga=0x317 resume=/dev/sda2 splash=silent showopts
initrd /boot/initrd-2.6.16.46-0.14-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP Professional
rootnoverify (hd1,0)
chainloader (hd1,0)+1
map (hd0) (hd1)
map (hd1) (hd0)

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd1,0)
chainloader (fd0)+1

Next Look At my DEVICE.MAP file:

(fd0) /dev/fd0
(hd0) /dev/sdb
(hd1) /dev/sda

Last is my FSTAB file:

/dev/sdb2 / ext3 acl,user_xattr 1 1
/dev/sdb3 /Software vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /Windows ufsd users,gid=users,umask=0002,nls=utf8 1 1
/dev/sda3 /SLED10 ext3 acl,user_xattr 1 1
/dev/sdb1 swap swap defaults 0 0
/dev/hda /media/dvd udf,iso9660 ro,user,noauto 1 1
/dev/hdb /media/dvdrw udf,iso9660 ro,user,noauto 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

When you boot from a Hard Drive, it becomes HD0. Drive/Partition designations like SDAx or SDBx change based on the actual drives connected at boot time. Removing an internal drive can make an external sdb drive into sda. All of your configuration files must represent how the system will come up with all intended drives attached.

Thank You,
 
Old 09-25-2007, 02:36 AM   #3
linux_challenged
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
thanx for your feedback...

I used the install dvd that came with the package I purchased so I do have the cd's as well. Would you suggest I use those to reinstall according to your tips?

Also, would you reformat the hard drive to wipe it clean before starting the install?

I have read elsewhere that it might be wise to create partitions before the install process but I didn't feel comfortable with that so mostly, because I am so new to Linux, I just went with whatever the defaults were that SUSE presented.
 
Old 09-25-2007, 05:43 PM   #4
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
Lightbulb Use Linux Boot CD to Modify installed Config FIles

Since your install works when the internal hard drive is gone, you need to boot from the installation CD, but use the rescue mode to modify your configuration files. You would do this WITH the internal hard drive installed.

You will most likely find all references to drive sdax, where x is the partition to be your external hard drive. You need to change sdax to sdbx, leaving the partition number unchanged. This must occur in menu.lst, device.map and fstab. My article on installing SuSE 10.0 on a Dell D610 talks about how to do this.

Remember that I do NOT know the actual drive designations that will come up on your system when you install your internal hard drive. Further, SuSE 10.2 does not have the same install verbage as 10.0.

If you want to install SuSE 10.2 on an external USB hard drive, there are several things you must figure out on your own and make those changes manually. Also, in your BIOS setup of the laptop, you must place the USB drive ahead of the internal drive to actually boot from the external hard drive.

Good Luck,
 
Old 10-04-2007, 12:15 PM   #5
linux_challenged
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
thanx for your reply - sorry for not responding sooner (work, life, etc)...

Anyway, in your last reply you mentioned there are "several things I have to figure out on my own" and make the appropriate changes. What are those "several things"? I believe I understand the required changes I need to make to the specific configuration - menu.lst, device.map, and fstab. Are there other changes I need to make?

Please keep in mind that I am new to linux - perhaps this is too much of an undertaking for my experience level?
 
Old 10-04-2007, 09:29 PM   #6
jdmcdaniel3
Member
 
Registered: Jan 2006
Location: Austin
Distribution: openSUSE 11.2
Posts: 167

Rep: Reputation: 31
Lightbulb Drive and Partition naming and Assignment at Boot Time using Linux

The number one thing to Learn is: Drive and Partition naming and Assignment at Boot Time using Linux and your computer's specific BIOS operation as well as your actual drive configuration

The number Two thing to Learn: How to preserve existing partitions and booting operating systems such as Windows after the installation of Linux

The number Three thing to Learn: How to install and configure your favorite hardware devices under Linux such as sound cards, video cards and TV cards and perhaps high speed network cards etc

The number Four thing to Learn: How to activate multimedia operation in Linux for formats such as MP3 music files and the ability to play DVD's.

The list can go on and each person has their own list of priorities but I think you get the picture. If I had anything else to add it would be to find a good Windows backup program and use it before installing Linux when you are trying to setup a multi-booting system with Linux and Windows. I use Norton Ghost which works very well even though I no longer like any of their other software very much.

Thank You,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting external usb hard drive in openSuSe 10.2 birdofprey Linux - Hardware 3 04-19-2007 12:02 AM
External USB HD Issues--Mounting w/OpenSuSE 10.2 Dieselashi Linux - Hardware 8 02-05-2007 01:28 AM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 03:18 PM
Installing OpenSuse from a USB External Hard Drive drethenerd Suse/Novell 1 03-26-2006 06:41 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM


All times are GMT -5. The time now is 11:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration