LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-17-2013, 09:36 AM   #16
smdaudhilbe
Member
 
Registered: Feb 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled

As per the book

I created

/boot/grub/grub.cfg

as below

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext3
set root=(hd0,7)

menuentry "GNU/Linux, Linux 3.7.9-lfs-7.3-rc1" {
linux /boot/vmlinuz-3.7.9-lfs-7.3-rc1 root=/dev/sda7 ro
}
EOF

and my /etc/fstab is

# Begin /etc/fstab

# file system mount-point type options dump fsck
# order

/dev/sda7 / ext3 defaults 1 1
proc /proc proc nosuid,noexec,nodev 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0

# End /etc/fstab

I can't get any clue...

---------- Post added 03-17-13 at 09:37 AM ----------

As per the book

I created

/boot/grub/grub.cfg

as below

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext3
set root=(hd0,7)

menuentry "GNU/Linux, Linux 3.7.9-lfs-7.3-rc1" {
linux /boot/vmlinuz-3.7.9-lfs-7.3-rc1 root=/dev/sda7 ro
}
EOF

and my /etc/fstab is

# Begin /etc/fstab

# file system mount-point type options dump fsck
# order

/dev/sda7 / ext3 defaults 1 1
proc /proc proc nosuid,noexec,nodev 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0

# End /etc/fstab

I can't get any clue...
 
Old 03-17-2013, 09:41 AM   #17
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Code:
	
As per the book

I created

/boot/grub/grub.cfg

as below

# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext3 >>>insmod ext2
set root=(hd0,7)

menuentry "GNU/Linux, Linux 3.7.9-lfs-7.3-rc1" {
linux /boot/vmlinuz-3.7.9-lfs-7.3-rc1 root=/dev/sda7 ro
}
EOF
That needs to be changed
 
  


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
[SOLVED] Help with network configuration in Chapter 7.2.2 of LFS 7.1 engineer Linux From Scratch 9 01-21-2013 08:11 PM
[SOLVED] Configuration and compilacion kernel LFS 7.1 is possible? poisoning Linux From Scratch 2 07-03-2012 04:21 PM
LFS keyboard permanent configuration aloisius-a Linux From Scratch 2 06-06-2010 04:35 AM
Problem with section 8.4.3 of LFS 6.6 book (Testing the Grub configuration) jackplughd Linux From Scratch 1 04-14-2010 08:24 AM
DHCP, Network configuration on LFS chawarma Linux From Scratch 1 02-18-2009 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:26 AM.

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