LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-05-2011, 08:45 PM   #16
jsandroid
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0

Hey Drako I've done all this, but idk what i must be messing up with. I posted my results of fdisk -l in posting #8; here it is again:

Quote:
root@Zeta-US:/home/user# sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf84ef84e

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5100 40965718+ 7 HPFS/NTFS
/dev/sda2 5101 5343 1951897+ 82 Linux swap / Solaris
/dev/sda3 7396 9729 18747855 83 Linux
/dev/sda4 5344 7395 16482690 83 Linux
Slackware is sda4, so in went into the grub2 edit command mode and set
Quote:
root=(hd0,4)
and
Quote:
kernel /boot/vmlinuz-generic-smp-2.6.33.4-smp root=/dev/sda4
Since there are four possible boot options as described above, I made sure to go through and have all options booting to hd0,1 and /sda4. The only exception between the four was that for the first two options, being of generic smp, I also added your
Quote:
initrd /boot/initrd.gz
idk, have I missed something from your instructions? I keep rereading these postings over and over again. I feel like this is what I'm suppose to be doing but it's not working at all.


Do I have to reinstall?

Last edited by jsandroid; 01-05-2011 at 08:47 PM.
 
Old 01-06-2011, 08:56 PM   #17
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,968

Rep: Reputation: 274Reputation: 274Reputation: 274
The way I got the ubuntu slackware-generic entry to work was to copy the working /boot/grub/grub.cfg slackware entry to the /etc/grub.d/custom file. I then edited the /etc/grub.d/custom slackware entry linux line to change to the generic kernel, and added the initrd line, then ran update-grub.
 
  


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
Ubuntu studio 4.09 error 18 on grub boot? joey45 Ubuntu 4 05-16-2009 08:06 AM
Installed Ubuntu on a system with Vista and XP, now wont boot into Linux. help! asilentmurmur Ubuntu 5 11-26-2008 07:06 AM
ubuntu studio 8.04, slackware 12 & Realtek 8201CL PHY spamhippy Ubuntu 0 05-13-2008 07:06 AM
Installed Ubuntu studio now sound doesn't work David Breedlove Linux - Newbie 6 12-05-2007 04:40 PM
Installed Ubuntu 7 but it wont boot Sir P Linux - General 12 05-19-2007 08:28 AM


All times are GMT -5. The time now is 08:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration