LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2003, 11:19 AM   #1
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Rep: Reputation: 15
simple change wreaked havoc


Hey everyone,

I'm having trouble booting Linux. It was working just last night. This morning, I decided that I would move my MP3's to my Linux drive. So I used Partition Magic to shrink my D drive NTFS partition, my /usr/local ext3 partition, and to enlarge my /home ext3 partition. Here's how they go from Partition Magic.

Primary Partitions:
G drive - FAT - 47 MB for BootMagic
C drive - NTFS - 9216.9 MB for Windows XP
Linux Drive - ext3 - 3074.9 MB for Linux booting and main stuff
Extended Partition

Logical Partitions:
Linux Swap - 203.9 MB
/home - ext3 - 6228.3 MB
/usr/local - ext3 - 1027.6 MB for now
F drive - FAT32 - 1027.6 MB for shared data
D drive - NTFS - 7789.3 MB for my stuff

That's what I turned it into anyway. Before, everything was the same except that the /home partition was 1 GB, the /usr/local partition was 3 GB, and the D drive was bigger. The problem is that, once I did these minor partition changes, while not touching the main ext3 partition or the swap, I could not boot into Linux anymore. I would choose "Slackware Linux" from my BootMagic window and it would give me:

L 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99

I wonder if there is anything I could do to fix this because I don't really want to reinstall if I don't have to. It DID take me quite a while to get ALSA working the first time...
 
Old 11-08-2003, 11:23 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Boot Linux with the cd, then rerun lilo.
 
Old 11-08-2003, 11:57 AM   #3
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
I ran lilo first to change the active partition to hda4 since that's where my Linux is installed. I ran it again using the lilo.conf off my mounted hda4, but I got the following error.

Fatal: Sorry, don't know how to handle device 0x0100

This may very well be because I'm not familiar with running lilo
 
Old 11-08-2003, 12:07 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Maybe your partitions changed. Run 'fdisk -l' to see them. The cd can boot a current installation, I think the instructions pop up when it boots 9or when you press F2 or some thing).
 
Old 11-08-2003, 12:13 PM   #5
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
the boot disk i use is slackware 9.1 disk 2, which has a running kernel on it. it boots into my memory as a ramdisk, and from there i need to mount my actual harddisk partition. i checked fdisk and my partitions are still the same. as i said, i just resized a couple of them. what is device 0x0100? is it memory?
 
Old 11-08-2003, 12:26 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Disk 1 can boot your current installation. Somewhere you'll find instructions forthis. You add the 'noinitrd root=/dev/hd<your lin part>', and it boots your current system. For the device, there is the howto on that at www.tldp.org that may help.
 
Old 11-08-2003, 12:31 PM   #7
fideli
Member
 
Registered: Nov 2003
Location: Mississauga
Distribution: arch linux
Posts: 51

Original Poster
Rep: Reputation: 15
i got it going with lilo. the only thing that i wasn't doing was the -r option after i mounted my hda4. i mounted it as /hd4 and it did everything properly once i entered "lilo -r /hd4"
thanks a lot for your help!
 
  


Reply



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
Slack Upgrade Wreaks Havoc - Newb in Trouble! davatar Slackware 4 03-13-2005 11:04 AM
Session havoc in Fedora Core 2 coolfrog Fedora 3 09-16-2004 08:40 PM
Filesystem havoc. Passive Linux - Hardware 5 08-24-2004 08:05 PM
Mandrake 9.1 2.6beta kernel havoc daphantom Linux - Software 2 08-17-2003 12:32 PM
New Partittion Has Caused Havoc O.B.Quite Linux - General 5 11-04-2002 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration